Never mind I forgot to start the winbindd in daemon mode :P sorry
----
Med Venlig Hilsen / Best regards
Henrik Dige Semark
> From: hendigsem@hotmail.com
> To: samba@lists.samba.org
> Date: Wed, 14 Jan 2009 20:00:30 +0000
> Subject: [Samba] RE: return codes ?
>
>
>
>
>
>
> Hey I have just installed Samba 3.2.7 on my Debian 4.0 with compile.
>
> But I'm trying to to join my Windows AD, and samba returns
>
> Using short domain name -- UNDERVISNING
> Joined 'MAIL' to realm 'UNDERVISNING.LOCAL'
> return code = 0
>
> First I got
>
> return code = -1 I just assumed that this was bad, so I powered on, but now
I get return code = 0 but I still can't get any user info out of my AD
>
> is this a good thing ? ore what is return code = 0 means ?
>
>
> My debug:
> net ads join -U Administrator --debuglevel=10 --long
>
> [2009/01/14 20:28:02, 5] lib/debug.c:debug_dump_status(407)
> INFO: Current debug levels:
> all: True/10
> tdb: False/0
> printdrivers: False/0
> lanman: False/0
> smb: False/0
> rpc_parse: False/0
> rpc_srv: False/0
> rpc_cli: False/0
> passdb: False/0
> sam: False/0
> auth: False/0
> winbind: False/0
> vfs: False/0
> idmap: False/0
> quota: False/0
> acls: False/0
> locking: False/0
> msdfs: False/0
> dmapi: False/0
> registry: False/0
> [2009/01/14 20:28:02, 3] param/loadparm.c:lp_load_ex(8753)
> lp_load_ex: refreshing parameters
> [2009/01/14 20:28:02, 3] param/loadparm.c:init_globals(4597)
> Initialising global parameters
> [2009/01/14 20:28:02, 3] param/params.c:pm_process(569)
> params.c:pm_process() - Processing configuration file
"/usr/local/samba/lib/smb.conf"
> [2009/01/14 20:28:02, 3] param/loadparm.c:do_section(7416)
> Processing section "[global]"
> doing parameter server string = Debian 4.0 - Samba %v - BDC
> doing parameter netbios name = mail
> [2009/01/14 20:28:02, 4] param/loadparm.c:handle_netbios_name(6764)
> handle_netbios_name: set global_myname to: MAIL
> doing parameter workgroup = UNDERVISNING
> doing parameter Inherit permissions = yes
> doing parameter Inherit owner = yes
> doing parameter security = ADS
> doing parameter idmap uid = 500-10000000
> doing parameter idmap gid = 500-10000000
> doing parameter template shell = /bin/bash
> doing parameter winbind use default domain = yes
> doing parameter winbind separator = %
> doing parameter winbind enum users = yes
> doing parameter winbind enum groups = yes
> doing parameter template homedir = /home/%D/%U
> doing parameter client use spnego = yes
> doing parameter password server = bgdc.birke-gym.dk
> doing parameter encrypt passwords = Yes
> doing parameter realm = UNDERVISNING.LOCAL
> doing parameter wins server = bgdc.birke-gym.dk
> doing parameter nt acl support = true
> doing parameter os level = 255
> doing parameter preferred master = no
> doing parameter domain master = no
> doing parameter local master = no
> doing parameter domain logons = no
> doing parameter hide special files = Yes
> doing parameter hide unreadable = Yes
> doing parameter disable netbios = yes
> doing parameter name resolve order = wins lmhosts hosts bcast
> doing parameter log level = 10
> doing parameter log file = /var/log/samba/UNDERVISNING
> [2009/01/14 20:28:02, 4] param/loadparm.c:lp_load_ex(8797)
> pm_process() returned Yes
> [2009/01/14 20:28:02, 7] param/loadparm.c:lp_servicenumber(9002)
> lp_servicenumber: couldn't find homes
> [2009/01/14 20:28:02, 10] param/loadparm.c:set_server_role(7975)
> set_server_role: role = ROLE_DOMAIN_MEMBER
> [2009/01/14 20:28:02, 5] lib/iconv.c:smb_register_charset(104)
> Attempting to register new charset UCS-2LE
> [2009/01/14 20:28:02, 5] lib/iconv.c:smb_register_charset(112)
> Registered charset UCS-2LE
> [2009/01/14 20:28:02, 5] lib/iconv.c:smb_register_charset(104)
> Attempting to register new charset UTF-16LE
> [2009/01/14 20:28:02, 5] lib/iconv.c:smb_register_charset(112)
> Registered charset UTF-16LE
> [2009/01/14 20:28:02, 5] lib/iconv.c:smb_register_charset(104)
> Attempting to register new charset UCS-2BE
> [2009/01/14 20:28:02, 5] lib/iconv.c:smb_register_charset(112)
> Registered charset UCS-2BE
> [2009/01/14 20:28:02, 5] lib/iconv.c:smb_register_charset(104)
> Attempting to register new charset UTF-16BE
> [2009/01/14 20:28:02, 5] lib/iconv.c:smb_register_charset(112)
> Registered charset UTF-16BE
> [2009/01/14 20:28:02, 5] lib/iconv.c:smb_register_charset(104)
> Attempting to register new charset UTF8
> [2009/01/14 20:28:02, 5] lib/iconv.c:smb_register_charset(112)
> Registered charset UTF8
> [2009/01/14 20:28:02, 5] lib/iconv.c:smb_register_charset(104)
> Attempting to register new charset UTF-8
> [2009/01/14 20:28:02, 5] lib/iconv.c:smb_register_charset(112)
> Registered charset UTF-8
> [2009/01/14 20:28:02, 5] lib/iconv.c:smb_register_charset(104)
> Attempting to register new charset ASCII
> [2009/01/14 20:28:02, 5] lib/iconv.c:smb_register_charset(112)
> Registered charset ASCII
> [2009/01/14 20:28:02, 5] lib/iconv.c:smb_register_charset(104)
> Attempting to register new charset 646
> [2009/01/14 20:28:02, 5] lib/iconv.c:smb_register_charset(112)
> Registered charset 646
> [2009/01/14 20:28:02, 5] lib/iconv.c:smb_register_charset(104)
> Attempting to register new charset ISO-8859-1
>
> ...
>
> libnet_Join:
> libnet_JoinCtx: struct libnet_JoinCtx
> out: struct libnet_JoinCtx
> account_name : NULL
> netbios_domain_name : 'UNDERVISNING'
> dns_domain_name : 'UNDERVISNING.LOCAL'
> dn :
'CN=mail,CN=Computers,DC=UNDERVISNING,DC=LOCAL'
> domain_sid : *
> domain_sid :
S-1-5-21-3246059169-2696874919-626726505
> modified_config : 0x00 (0)
> error_string : NULL
> domain_is_ad : 0x01 (1)
> result : WERR_OK
> [2009/01/14 20:28:10, 10] intl/lang_tdb.c:lang_tdb_init(147)
> lang_tdb_init: loading /usr/local/samba/var/locks/lang_da_DK.UTF-8.tdb
> [2009/01/14 20:28:10, 10]
libads/kerberos.c:kerberos_kinit_password_ext(217)
> kerberos_kinit_password: as MAIL$@UNDERVISNING.LOCAL using
[MEMORY:net_ads] as ccache and config [(null)]
> [2009/01/14 20:28:10, 10] lib/util.c:name_to_fqdn(2953)
> name_to_fqdn: lookup for MAIL -> MAIL.birke-gym.dk.
> [2009/01/14 20:28:10, 2] lib/interface.c:add_interface(337)
> added interface eth4 ip=fe80::218:f3ff:fe52:e93%eth4
bcast=fe80::ffff:ffff:ffff:ffff%eth4 netmask=ffff:ffff:ffff:ffff::
> [2009/01/14 20:28:10, 2] lib/interface.c:add_interface(337)
> added interface eth1 ip=fe80::280:c8ff:feca:9081%eth1
bcast=fe80::ffff:ffff:ffff:ffff%eth1 netmask=ffff:ffff:ffff:ffff::
> [2009/01/14 20:28:10, 2] lib/interface.c:add_interface(337)
> added interface eth2 ip=fe80::280:c8ff:feca:9082%eth2
bcast=fe80::ffff:ffff:ffff:ffff%eth2 netmask=ffff:ffff:ffff:ffff::
> [2009/01/14 20:28:10, 2] lib/interface.c:add_interface(337)
> added interface eth3 ip=fe80::280:c8ff:feca:9083%eth3
bcast=fe80::ffff:ffff:ffff:ffff%eth3 netmask=ffff:ffff:ffff:ffff::
> [2009/01/14 20:28:10, 2] lib/interface.c:add_interface(337)
> added interface tap0 ip=fe80::9c8d:42ff:fe8d:d632%tap0
bcast=fe80::ffff:ffff:ffff:ffff%tap0 netmask=ffff:ffff:ffff:ffff::
> [2009/01/14 20:28:10, 2] lib/interface.c:add_interface(337)
> added interface eth1:INTRANET ip=194.182.87.2 bcast=194.182.87.127
netmask=255.255.255.128
> [2009/01/14 20:28:10, 2] lib/interface.c:add_interface(337)
> added interface eth1 ip=194.182.87.97 bcast=194.182.87.127
netmask=255.255.255.128
> [2009/01/14 20:28:10, 2] lib/interface.c:add_interface(337)
> added interface eth1:MAIL ip=194.182.87.98 bcast=194.182.87.127
netmask=255.255.255.128
> [2009/01/14 20:28:10, 2] lib/interface.c:add_interface(337)
> added interface eth1:VIDEO ip=194.182.87.121 bcast=194.182.87.127
netmask=255.255.255.128
> [2009/01/14 20:28:10, 2] lib/interface.c:add_interface(337)
> added interface eth4:GADM ip=10.3.2.1 bcast=10.3.3.255
netmask=255.255.254.0
> [2009/01/14 20:28:10, 2] lib/interface.c:add_interface(337)
> added interface eth4 ip=10.3.2.250 bcast=10.3.3.255 netmask=255.255.254.0
> [2009/01/14 20:28:10, 2] lib/interface.c:add_interface(337)
> added interface eth3 ip=10.3.16.1 bcast=10.3.31.255 netmask=255.255.240.0
> [2009/01/14 20:28:10, 2] lib/interface.c:add_interface(337)
> added interface eth2 ip=10.3.255.1 bcast=10.3.255.255
netmask=255.255.255.0
> [2009/01/14 20:28:10, 2] lib/interface.c:add_interface(337)
> added interface tap0 ip=10.8.0.1 bcast=10.8.0.255 netmask=255.255.255.0
> [2009/01/14 20:28:10, 4] libads/dns.c:ads_dns_lookup_ns(620)
> ads_dns_lookup_ns: 1 records returned in the answer section.
> DNS update failed!
> [2009/01/14 20:28:10, 2] utils/net.c:main(1172)
> return code = 0
>
>
> ----
>
> Med Venlig Hilsen / Best regards
>
> Henrik Dige Semark
>
> T?v dine venner i retro spillet UNO med Windows Live Messenger. Start
spillet her!
> _________________________________________________________________
> Spil det nye spil Atomic Subattle med dine venner i Windows Live Messenger
> http://www2.messengerplayground.dk/spil/84--
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba
_________________________________________________________________
F? Windows Live Hotmail to go med Samsung i200!
www.microsoft.dk/hotmail