[Samba] Win XP can't join samba 3.0 domain

Brian Johnson brijohn at alumni.engin.umich.edu
Fri Sep 13 23:41:01 GMT 2002


i'm trying to get samba 3.0 alpha 19 runing on OS X 10.2 working as a PDC with Win XP clients using an LDAP passdb backend i've managed to get it so i 
can connect to shares with smbclient but whenever i try to join one of the XP machine to the domain Windows tells give me the message "the specified 
network name no longer exists". when i check the logfile the last thing in it is a internal smbd error. has anyone else experienced a problem like this or know of 
a way to get it working?

bellow is the last bit of my samba log file followd by my smb.conf file 

[2002/09/13 13:17:54, 10] passdb/pdb_ldap.c:ldapsam_open_connection(171)
  ldapsam_open_connection: ldap://eniac.icc.coop:389
[2002/09/13 13:17:54, 2] passdb/pdb_ldap.c:ldapsam_open_connection(267)
  ldap_open_connection: connection opened
[2002/09/13 13:17:54, 10] passdb/pdb_ldap.c:ldapsam_connect_system(384)
  ldap_connect_system: Binding to ldap server as "uid=root, cn=users, dc=icc, dc=coop"
[2002/09/13 13:17:55, 2] passdb/pdb_ldap.c:ldapsam_connect_system(410)
  ldap_connect_system: succesful connection to the LDAP server
[2002/09/13 13:17:55, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(422)
  ldapsam_search_one_user: searching for:[(&(uid=ROOT)(objectclass=sambaAccount))]
[2002/09/13 13:17:55, 2] passdb/pdb_ldap.c:init_sam_from_ldap(668)
  Entry found for user: root
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_user_sid(497)
  pdb_set_user_sid: setting user sid S-1-5-21-4045150734-1264408819-3820253986-500
[2002/09/13 13:17:55, 10] passdb/pdb_compat.c:pdb_set_user_sid_from_rid(72)
  pdb_set_user_sid_from_rid:
        setting user sid S-1-5-21-4045150734-1264408819-3820253986-500 from rid 500
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_group_sid(532)
  pdb_set_group_sid: setting group sid S-1-5-21-4045150734-1264408819-3820253986-512
[2002/09/13 13:17:55, 10] passdb/pdb_compat.c:pdb_set_group_sid_from_rid(99)
  pdb_set_group_sid_from_rid:
        setting group sid S-1-5-21-4045150734-1264408819-3820253986-512 from rid 512
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_unix_homedir(805)
  pdb_set_unix_homedir: setting home dir /var/root, was NULL
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_uid(465)
  pdb_set_uid: setting uid 0, was -1
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_gid(480)
  pdb_set_gid: setting gid 0, was -1
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_fullname(650)
  pdb_set_full_name: setting full name System Administrator, was
[2002/09/13 13:17:55, 10] passdb/pdb_ldap.c:get_single_attribute(518)
  get_single_attribute: [homeDrive] = [<does not exist>]
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_dir_drive(741)
  pdb_set_dir_drive: setting dir drive H:, was NULL
[2002/09/13 13:17:55, 10] passdb/pdb_ldap.c:get_single_attribute(518)
  get_single_attribute: [smbHome] = [<does not exist>]
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_homedir(773)
  pdb_set_homedir: setting home dir \\ENIAC\root, was
[2002/09/13 13:17:55, 10] passdb/pdb_ldap.c:get_single_attribute(518)
  get_single_attribute: [scriptPath] = [<does not exist>]
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_logon_script(677)
  pdb_set_logon_script: setting logon script startup.cmd, was
[2002/09/13 13:17:55, 10] passdb/pdb_ldap.c:get_single_attribute(518)
  get_single_attribute: [profilePath] = [<does not exist>]
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_profile_path(709)
  pdb_set_profile_path: setting profile path \\ENIAC\profile\root, was
[2002/09/13 13:17:55, 10] passdb/pdb_ldap.c:get_single_attribute(518)
  get_single_attribute: [description] = [<does not exist>]
[2002/09/13 13:17:55, 10] passdb/pdb_ldap.c:get_single_attribute(518)
  get_single_attribute: [userWorkstations] = [<does not exist>]
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_username(569)
  pdb_set_username: setting username root, was
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_domain(596)
  pdb_set_domain: setting domain ICC, was
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_nt_username(623)
  pdb_set_nt_username: setting nt username root, was
[2002/09/13 13:17:55, 3] smbd/sec_ctx.c:pop_sec_ctx(394)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/09/13 13:17:55, 4] auth/auth_sam.c:sam_password_ok(198)
  sam_password_ok: Checking NT MD4 password
[2002/09/13 13:17:55, 4] auth/auth_sam.c:sam_account_ok(275)
  sam_account_ok: Checking SMB password for user root
[2002/09/13 13:17:55, 3] smbd/sec_ctx.c:push_sec_ctx(255)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2002/09/13 13:17:55, 3] smbd/uid.c:push_conn_ctx(284)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2002/09/13 13:17:55, 3] smbd/sec_ctx.c:set_sec_ctx(287)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2002/09/13 13:17:55, 10] passdb/pdb_ldap.c:ldapsam_open_connection(171)
  ldapsam_open_connection: ldap://eniac.icc.coop:389
[2002/09/13 13:17:55, 2] passdb/pdb_ldap.c:ldapsam_open_connection(267)
  ldap_open_connection: connection opened
[2002/09/13 13:17:55, 10] passdb/pdb_ldap.c:ldapsam_connect_system(384)
  ldap_connect_system: Binding to ldap server as "uid=root, cn=users, dc=icc, dc=coop"
[2002/09/13 13:17:55, 2] passdb/pdb_ldap.c:ldapsam_connect_system(410)
  ldap_connect_system: succesful connection to the LDAP server
[2002/09/13 13:17:55, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(422)
  ldapsam_search_one_user: searching for:[rid=500]
[2002/09/13 13:17:55, 2] passdb/pdb_ldap.c:init_sam_from_ldap(668)
  Entry found for user: root
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_user_sid(497)
  pdb_set_user_sid: setting user sid S-1-5-21-4045150734-1264408819-3820253986-500
[2002/09/13 13:17:55, 10] passdb/pdb_compat.c:pdb_set_user_sid_from_rid(72)
  pdb_set_user_sid_from_rid:
        setting user sid S-1-5-21-4045150734-1264408819-3820253986-500 from rid 500
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_group_sid(532)
  pdb_set_group_sid: setting group sid S-1-5-21-4045150734-1264408819-3820253986-512
[2002/09/13 13:17:55, 10] passdb/pdb_compat.c:pdb_set_group_sid_from_rid(99)
  pdb_set_group_sid_from_rid:
        setting group sid S-1-5-21-4045150734-1264408819-3820253986-512 from rid 512
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_unix_homedir(805)
  pdb_set_unix_homedir: setting home dir /var/root, was NULL
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_uid(465)
  pdb_set_uid: setting uid 0, was -1
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_gid(480)
  pdb_set_gid: setting gid 0, was -1
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_fullname(650)
  pdb_set_full_name: setting full name System Administrator, was
[2002/09/13 13:17:55, 10] passdb/pdb_ldap.c:get_single_attribute(518)
  get_single_attribute: [homeDrive] = [<does not exist>]
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_dir_drive(741)
  pdb_set_dir_drive: setting dir drive H:, was NULL
[2002/09/13 13:17:55, 10] passdb/pdb_ldap.c:get_single_attribute(518)
  get_single_attribute: [smbHome] = [<does not exist>]
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_homedir(773)
  pdb_set_homedir: setting home dir \\ENIAC\root, was
[2002/09/13 13:17:55, 10] passdb/pdb_ldap.c:get_single_attribute(518)
  get_single_attribute: [scriptPath] = [<does not exist>]
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_logon_script(677)
  pdb_set_logon_script: setting logon script startup.cmd, was
[2002/09/13 13:17:55, 10] passdb/pdb_ldap.c:get_single_attribute(518)
  get_single_attribute: [profilePath] = [<does not exist>]
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_profile_path(709)
  pdb_set_profile_path: setting profile path \\ENIAC\profile\root, was
[2002/09/13 13:17:55, 10] passdb/pdb_ldap.c:get_single_attribute(518)
  get_single_attribute: [description] = [<does not exist>]
[2002/09/13 13:17:55, 10] passdb/pdb_ldap.c:get_single_attribute(518)
  get_single_attribute: [userWorkstations] = [<does not exist>]
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_username(569)
  pdb_set_username: setting username root, was
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_domain(596)
  pdb_set_domain: setting domain ICC, was
[2002/09/13 13:17:55, 10] passdb/pdb_get_set.c:pdb_set_nt_username(623)
  pdb_set_nt_username: setting nt username root, was
[2002/09/13 13:17:55, 10] passdb/passdb.c:local_sid_to_uid(843)
  local_sid_to_uid: SID S-1-5-21-4045150734-1264408819-3820253986-500 -> uid (0) (root).
[2002/09/13 13:17:55, 3] smbd/sec_ctx.c:pop_sec_ctx(394)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
*** malloc[607]: error for object 0xbfffe734: Pointer being reallocated was not allocated
[2002/09/13 13:17:55, 0] lib/util.c:Realloc(723)
  Memory allocation error: failed to expand to 64 bytes
[2002/09/13 13:17:56, 0] lib/fault.c:fault_report(36)
  ===============================================================
[2002/09/13 13:17:56, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 10 in pid 607 (3.0-alpha19)
  Please read the file BUGS.txt in the distribution
[2002/09/13 13:17:56, 0] lib/fault.c:fault_report(39)
  ===============================================================
[2002/09/13 13:17:56, 0] lib/util.c:smb_panic(1151)
  PANIC: internal error


smb.conf: 

[global]
        security = user
        guest account = unknown
        map to guest = Bad Password
        encrypt passwords = YES
        os level = 64
        preferred master = yes
        local master = YES
        max smbd processes = 0
        passdb backend = ldapsam:ldap://eniac.icc.coop:389
        ldap suffix = "cn=users, dc=icc, dc=coop"
        ldap machine suffix = "cn=users, dc=icc, dc=coop"
        ldap user suffix = "cn=users, dc=icc, dc=coop"
        ldap admin dn = "uid=root, cn=users, dc=icc, dc=coop"
        ldap filter = (&(uid=%u)(objectclass=sambaAccount))
        ldap ssl = no
        unix password sync = Yes
        passwd program = /bin/pwchange.pl %u
        passwd chat = *New*Password* %n\n
        print command = /usr/sbin/PrintServiceAccess printps %p  %s
        lpq command = /usr/sbin/PrintServiceAccess jobs %p
        lprm command = /usr/sbin/PrintServiceAccess remove %p  %j
        lppause command = /usr/sbin/PrintServiceAccess hold %p  %j
        lpresume command = /usr/sbin/PrintServiceAccess release %p  %j
        printer admin = unknown, @staff
        server string = Jaguar Server
        log file = /Library/Logs/WindowsServices/WindowsFileService.log
        netbios name = eniac
        workgroup = ICC
        interfaces = 192.168.1.5
        bind interfaces only = Yes
        log level = 2
        domain master = YES
        logon path = \\%L\profile\%u
        domain logons = Yes
        veto oplock files = /prf*.tmp/*.QBW/*.qbw/*.DF1/*.df1/
        logon drive = H:
        logon home = \\%L\%U
        logon script = startup.cmd
        client code page = 437
        coding system = utf8
        wins support = NO
        debug level = 100
[homes]
        comment = User Home Directories
        browseable = no
        read only = no
        create mode = 0750
[Netlogon]
        path = /Volumes/Data/Netlogon
        public = 1
        create mask = 0644
        directory mask = 0755
        read only = NO
        comment = macosx
[Profile]
        path = /Volumes/Data/Profile
        public = 1
        create mask = 0664
        directory mask = 0775
        read only = NO
        comment = macosx








More information about the samba mailing list