[Samba] When im login the error: "A device attached to the systemis not functioning"

tms3 at tms3.com tms3 at tms3.com
Sat Jun 5 07:02:08 MDT 2010



SNIP
>
> I've got a Samba server running with an Open LDAP backend in Centos 
> 5.5, I
> could not login with the Administrator's account in window xp clients,
>
> When im login the error is come:  "A device attached to the system is 
> not
> functioning"

The only time I've seen that Windows error is during machine joins.  
It is due to nssldap caching.  Really could use the Samba server logs.
>
>
>
> And i want to disable the roaming profiles also.

If you're using smbldaptools, just edit the config script with the 
system variables for a local profile.  It looks something like 
\\%systemdrive%\%users\%U% (it's too early in the a.m. for me to look 
up).

Cheers,
>
>
>
>
> Please help me in this regards...........
>
>
> [root at XXXX ~]# testparm
> Load smb config files from /etc/samba/smb.conf
> Processing section "[homes]"
> Global parameter server signing found in service section!
> Global parameter server schannel found in service section!
> Processing section "[netlogon]"
> Processing section "[Profiles]"
> WARNING: No path in service Profiles - making it unavailable!
> NOTE: Service Profiles is flagged unavailable.
> Loaded services file OK.
> Server role: ROLE_DOMAIN_PDC
> Press enter to see a dump of your service definitions
>
> [global]
> workgroup = XXXX
> interfaces =  XXXXX
> passdb backend = ldapsam:ldap://127.0.0.1
> pam password change = Yes
> passwd program = /usr/bin/passwd '%u'
> passwd chat = "*New UNIX password*" %n\n "*Retype new UNIX
> password*" %n\n "*Changing password for*\nNew password*" %n\n "*Retype 
> new
> password*" %n\n" "*updated successfully*"
> username map = /etc/samba/smbusers
> log level = 3
> log file = /var/log/samba/log.%m
> max log size = 100000
> time server = Yes
> printcap name = cups
> add user script = /usr/sbin/smbldap-useradd -m "%u"
> delete user script = /usr/sbin/smbldap-userdel "%u"
> add group script = /usr/sbin/smbldap-groupadd -p "%g"
> delete group script = /usr/sbin/smbldap-groupdel "%g"
> add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
> delete user from group script = /usr/sbin/smbldap-groupmod -x "%u"
> "%g"
> set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
> add machine script = /usr/sbin/smbldap-useradd -w "%u"
> logon script = logon.bat
> domain logons = Yes
> os level = 35
> preferred master = Yes
> domain master = Yes
> wins support = Yes
> ldap admin dn = cn=Manager,dc=XXXX,dc=XXX
> ldap delete dn = Yes
> ldap group suffix = ou=Groups
> ldap idmap suffix = ou=Idmap
> ldap machine suffix = ou=Hosts
> ldap passwd sync = Yes
> ldap suffix = dc=XXXX,dc=XXX
> ldap ssl = no
> ldap user suffix = ou=Peoples
> idmap uid = 1500-2000
> idmap gid = 1500-2000
> admin users = administrator at smbadmins
>
> [homes]
> comment = Home Directories
> valid users = %S
> read only = No
> browseable = No
>
> [netlogon]
> comment = Network Logon Service
> path = /var/lib/samba/netlogon
> valid users = %U
> admin users = root
> guest ok = Yes
> browseable = No
>
> [Profiles]
> read only = No
> create mask = 0600
> directory mask = 0700
> profile acls = Yes
> available = No
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba



More information about the samba mailing list