In the example above I have edited the smbldap.conf file as follows : -
Code:
# Where to store next uidNumber and gidNumber available for new users and groups
# If not defined, entries are stored in sambaDomainName object.
# Ex: sambaUnixIdPooldn="sambaDomainName=${sambaDomain},${suffix}"
# Ex: sambaUnixIdPooldn="cn=NextFreeUnixId,${suffix}"
sambaUnixIdPooldn="sambaDomainName=EXAMPLE,${suffix}"
When I edit it as below : -
Code:
# Where to store next uidNumber and gidNumber available for new users and groups
# If not defined, entries are stored in sambaDomainName object.
# Ex: sambaUnixIdPooldn="sambaDomainName=${sambaDomain},${suffix}"
# Ex: sambaUnixIdPooldn="cn=NextFreeUnixId,${suffix}"
sambaUnixIdPooldn="sambaDomainName=$EXAMPLE,${suffix}"
I got this error message : -
Code:
root@niro1:/etc/smbldap-tools# smbldap-useradd -a -m -M ricky -c "Richard M" ricky
Error looking for next uid in sambaDomainName=$EXAMPLE,dc=EXAMPLE,dc=local:No
such object at /usr/share/perl5/smbldap_tools.pm line 1071.
So I'm getting an error message with or without the
$.
There is no
$ in the '
Howto' but the
smbldap.conf file defaults to a
$ before the Domain prior to editing it.
Recent comments
21 hours 18 min ago
1 day 3 hours ago
1 day 7 hours ago
1 day 9 hours ago
1 day 17 hours ago
2 days 3 hours ago
2 days 4 hours ago
2 days 7 hours ago
2 days 12 hours ago
2 days 12 hours ago