> Are you joining a Samba domain ? If so, that error msg is > probably not your problem.Yes, I try to... Does somebody have a hint form e, plz? Best regards Sascha
You need to post the error from the .log file not the error that appears in the output of the command. Try looking at the log files in the samba server HTH Oliver -- Oliver Schulze L. | http://tinymailto.com/oliver Asuncion - Paraguay | http://www.solojuegos.mobi
Aham, I posted the log files, please hav a look again... -----Original Message----- From: Sascha Bieler [mailto:sascha.bieler@radiogong.de] Sent: Monday, May 21, 2007 6:53 PM To: 'Sascha Bieler' Subject: RE: [Samba] can't create workstation account net join -U Administrator gives: ==> log.192.168.100.222 <=[2007/05/21 18:51:58, 2] lib/smbldap.c:smbldap_open_connection(788) smbldap_open_connection: connection opened [2007/05/21 18:51:58, 2] passdb/pdb_ldap.c:init_group_from_ldap(2140) init_group_from_ldap: Entry found for group: 514 [2007/05/21 18:51:58, 2] passdb/pdb_ldap.c:init_group_from_ldap(2140) init_group_from_ldap: Entry found for group: 514 [2007/05/21 18:51:58, 2] passdb/pdb_ldap.c:init_group_from_ldap(2140) init_group_from_ldap: Entry found for group: 512 [2007/05/21 18:51:58, 2] passdb/pdb_ldap.c:init_sam_from_ldap(541) init_sam_from_ldap: Entry found for user: Administrator [2007/05/21 18:51:58, 2] passdb/pdb_ldap.c:init_group_from_ldap(2140) init_group_from_ldap: Entry found for group: 513 [2007/05/21 18:51:58, 2] smbd/reply.c:reply_tcon_and_X(711) Serving IPC$ as a Dfs root [2007/05/21 18:51:58, 0] rpc_server/srv_netlog_nt.c:get_md4pw(242) get_md4pw: Workstation BLACKHAWK$: no account in domain [2007/05/21 18:51:58, 0] rpc_server/srv_netlog_nt.c:_net_auth_2(461) _net_auth2: failed to get machine password for account BLACKHAWK$: NT_STATUS_ACCESS_DENIED ==> log.blackhawk <=[2007/05/21 18:51:59, 0] passdb/pdb_interface.c:pdb_default_create_user(368) _samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w "blackhawk$"' gave 9 [2007/05/21 18:51:59, 2] smbd/utmp.c:sys_utmp_update(419) utmp_update: uname:/var/run/utmp wname:/var/log/wtmp and still cannot join the samba domain. What do I miss? Best regards Sascha
>`/usr/sbin/smbldap-useradd -w "blackhawk$"' gave 9> The command smbldap-useradd exit with exit code 9, which means error. > It should exit with error 9, try running something like this:I know, but this means just that account is created and normally it will be overwritten. If I have a look inside ldap I see: dn: uid=blackhawk$,ou=Computers,dc=audio,dc=de objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson objectClass: posixAccount cn: blackhawk$ sn: blackhawk$ uid: blackhawk$ uidNumber: 1016 gidNumber: 515 homeDirectory: /dev/null loginShell: /bin/false description: Computer gecos: Computer structuralObjectClass: inetOrgPerson entryUUID: 7f9e7c88-9be3-102b-9a0c-c98dc3a52409 creatorsName: cn=admin,dc=audio,dc=de createTimestamp: 20070521123527Z entryCSN: 20070521123527Z#000001#00#000000 modifiersName: cn=admin,dc=audio,dc=de modifyTimestamp: 20070521123527Z> /usr/sbin/smbldap-useradd -w "test123$" and see if there is an errorNo error and account is added like this: dn: uid=blackhawk$,ou=Computers,dc=audio,dc=de objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson objectClass: posixAccount cn: blackhawk$ sn: blackhawk$ uid: blackhawk$ uidNumber: 1017 gidNumber: 515 homeDirectory: /dev/null loginShell: /bin/false description: Computer gecos: Computer structuralObjectClass: inetOrgPerson entryUUID: a4194154-9c85-102b-9a0f-c98dc3a52409 creatorsName: cn=admin,dc=audio,dc=de createTimestamp: 20070522075607Z entryCSN: 20070522075607Z#000001#00#000000 modifiersName: cn=admin,dc=audio,dc=de modifyTimestamp: 20070522075607Z While doing net join from running BDC it works, also debian 4.0. Don't really know what I've done wrong. Thanks for helping and thinking! Sascha