[Samba] samba 3.0.1 getting Sid not users login?

elik at bhphotovideo.com elik at bhphotovideo.com
Tue Dec 30 21:23:18 GMT 2003


can someone please help me on this

I am using solaris9 x86 with samba 3.0, iplanet ds5 with the samba schema.
My login works to this machine but by creating a directory or any file it will only return 
my samba Sid not my login name? What am I doing wrong?

Any help is greatly appreciated
Eli

My smb.conf

# testparm
Load smb config files from /data4/samba/lib/smb.conf
Processing section "[public]"
Processing section "[homes]"
Processing section "[netlogon]"
Processing section "[Profiles]"
Processing section "[printers]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions

# Global parameters
[global]
        workgroup = Test
        server string = Test Samba Server
        passdb backend = ldapsam:ldap://test.mydomain.COM:389
.com:389'
        passwd program = /bin/passwd %u
        unix password sync = Yes
        log level = 3
        log file = /data4/samba/log/log.%m
        max log size = 50
        add user script = /usr/local/sbin/smbldap-useradd.pl -a -m "%u"
        delete user script = /usr/local/sbin/smbldap-userdel.pl "%u"
        add group script = /usr/local/sbin/smbldap-groupadd.pl "%g"
        delete group script = /usr/local/sbin/smbldap-groupdel.pl "%g"
        add user to group script = /usr/local/sbin/smbldap-groupmod.pl -m "%u" "%g"
        delete user from group script = /usr/local/sbin/smbldap-groupmod.pl -x "%u" 
"%g"
        set primary group script = /usr/local/sbin/smbldap-usermod.pl -g "%g" "%u"
        add machine script = /usr/local/sbin/smbldap-useradd.pl -w "%u"
        logon path = \\test\profiles\%u
        logon drive = H:
        logon home = \\test\%u
        domain logons = Yes
        domain master = Yes
        ldap suffix = dc=bnh,dc=COM
        ldap machine suffix = ou=hosts,dc=bnh,dc=COM
        ldap idmap suffix = ou=People,dc=bnh,dc=COM
        ldap filter = (&(uid=%u)(objectclass=sambaSamAccount))
        ldap admin dn = "cn=proxyagent,ou=profile,dc=bnh,dc=COM"
        ldap ssl = no
        ldap passwd sync = Yes
        idmap backend = ldap:ldap://test.mydomain.COM:389
        idmap uid = 100000-150000
        idmap gid = 100000-150000
        admin users = root, Administrator

[public]
        comment = Public Directories
        path = /data4/public_share
        read only = No
        create mask = 0777
        force create mode = 0777
        directory mask = 0777

[homes]
        comment = Home Directories
        read only = No
        browseable = No

[netlogon]
        comment = Network Logon Service
        path = /data4/samab_config/netlogon/%u
        guest ok = Yes
        share modes = No

[Profiles]
        path = /data4/samab_config/profiles/%u
        guest ok = Yes

[printers]
        comment = All Printers
        path = /data4/pdrivers
        write list = root, user
        guest ok = Yes
        printable = Yes
        use client driver = Yes
        browseable = No

Copy of user ldif
# ldaplist -l passwd users
dn: uid=users,ou=people,dc=bnh,dc=COM
        cn: user
        uidNumber: 921
        gidNumber: 140
        gecos: IT Dept..
        homeDirectory: /export/home/users
        loginShell: /bin/bash
        objectClass: posixAccount
        objectClass: shadowAccount
        objectClass: account
        objectClass: top
        objectClass: inetorgperson
        objectClass: organizationalPerson
        objectClass: person
        objectClass: sambasamaccount
        uid: user
        shadowLastChange: 12124
        sn: elik
        sambaSID: S-1-5-21-2364130803-1466516243-2155456869-2842
        shadowFlag: 0
        sambaLMPassword: 56E72B49D6B1ADF209752A3293831D17
        sambaNTPassword: EC606FF5D4B4DB38E4FCA9291CDA3F4D
        sambaPwdCanChange: 1067457984
        sambaPwdLastSet: 1067457984
        sambaPwdMustChange: 2147483647
        sambaLogonTime: 0
        sambaHomeDrive: H:
        sambaHomePath: \\test\homes\%u
        sambaProfilePath: \\test\profiles\%u
        displayName: IT Dept..
        sambaPrimaryGroupSID: S-1-5-21-2364130803-1466516243-2155456869-
1281
        sambaAcctFlags: [UX         ]
        sambaKickoffTime: 0
        sambaLogoffTime: 0
        userPassword: {crypt}mq0AUBxoEWhSo




More information about the samba mailing list