[Samba] failed to lookup DC info for domain 'xxx.com' over rpc
all Any idea why we get such error message when trying to net ads join ? kinit is working just fine but net ads join is failing thanks best regards Francis -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] user samba
how to make user samba can reset their own password like nt i try to use smb2www but i can't do it (reset password) thanx -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Nmbd is using the wrong ip address as source
On Mon, 2008-10-06 at 09:05 +0300, Teodor Iacob wrote: > Hello, > > Sorry for seeming impatient, I just had some rough night hours because > of this problem :) > > tcpdump shows: > 08:21:22.920832 IP X.X.X.X.netbios-dgm > 10.10.10.255.netbios-dgm: NBT > UDP PACKET(138) > 08:21:22.920986 IP X.X.X.X.netbios-dgm > 10.10.10.255.netbios-dgm: NBT > UDP PACKET(138) > 08:21:23.072063 IP X.X.X.X.netbios-ns > 10.10.10.255.netbios-ns: NBT > UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST > 08:21:23.072069 IP X.X.X.X.netbios-ns > 10.10.10.255.netbios-ns: NBT > UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST > 08:21:23.072073 IP X.X.X.X.netbios-ns > 10.10.10.255.netbios-ns: NBT > UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST > 08:21:23.072076 IP X.X.X.X.netbios-ns > 10.10.10.255.netbios-ns: NBT > UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST > 08:21:23.072079 IP X.X.X.X.netbios-ns > 10.10.10.255.netbios-ns: NBT > UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST > 08:21:24.072491 IP X.X.X.X.netbios-dgm > 10.10.10.255.netbios-dgm: NBT > UDP PACKET(138) > 08:21:24.072497 IP X.X.X.X.netbios-dgm > 10.10.10.255.netbios-dgm: NBT > UDP PACKET(138) > 08:21:24.072656 IP X.X.X.X.netbios-ns > 10.10.10.255.netbios-ns: NBT > UDP PACKET(137): QUERY; REQUEST; BROADCAST > 08:21:25.073432 IP X.X.X.X.netbios-ns > 10.10.10.255.netbios-ns: NBT > UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST > 08:21:25.073438 IP X.X.X.X.netbios-ns > 10.10.10.255.netbios-ns: NBT > UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST > 08:21:25.073441 IP X.X.X.X.netbios-ns > 10.10.10.255.netbios-ns: NBT > UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST > > ( where X.X.X.X is the public ip address of the linux server from > eth0 ), this tcpdump was taken from another linux machine with the > ip: 10.10.10.2 > > The requested netstat output: > > [EMAIL PROTECTED] ~]# netstat -nap |grep [sn]mbd > tcp0 0 10.10.10.1:139 0.0.0.0:* > LISTEN 18538/smbd > tcp0 0 10.10.10.1:445 0.0.0.0:* > LISTEN 18538/smbd > udp0 0 10.10.10.1:137 0.0.0.0:* > 18542/nmbd > udp0 0 10.10.10.255:1370.0.0.0:* > 18542/nmbd > udp0 0 10.10.10.1:138 0.0.0.0:* > 18542/nmbd > udp0 0 10.10.10.255:1380.0.0.0:* > 18542/nmbd > unix 2 [ ] DGRAM194986 18542/nmbd > unix 2 [ ] DGRAM194960 18538/smbd > > nmblookup from both machines returns this: > querying server on 10.10.10.255 > name_query failed to find name server > > Right now there are no PCs open in the network, but friday when I was > testing various configurations, > I was able to see that one of the XP machines reported back as master > browser ( I could see the share list > with _MSBROWSE_ as well. ) > > > However if I do a unicast request to 10.10.10.1 ( basically it acts as > a wins server ): > querying HDV on 10.10.10.1 > 10.10.10.1 HDV<00> > > In the nmbd.log I have: > > [2008/10/06 08:52:50, 0] nmbd/nmbd.c:main(698) > Netbios nameserver version 3.0.28-1.el5_2.1 started. > Copyright Andrew Tridgell and the Samba Team 1992-2007 > [2008/10/06 08:52:51, 0] > nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(290) > become_domain_master_browser_bcast: > Attempting to become domain master browser on workgroup HOSTNAME on > subnet 10.10.10.1 > [2008/10/06 08:52:51, 0] > nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(303) > become_domain_master_browser_bcast: querying subnet 10.10.10.1 for > domain master browser on workgroup HOSTNAME > [2008/10/06 08:53:01, 0] > nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113) > * > > Samba server HNS is now a domain master browser for workgroup > HOSTNAME on subnet 10.10.10.1 > > * > [2008/10/06 08:53:15, 0] > nmbd/nmbd_become_lmb.c:become_local_master_stage2(396) > * > > Samba name server HNS is now a local master browser for workgroup > HOSTNAME on subnet 10.10.10.1 > > * > > Thank you for your time! > > Teodor > > > > > > __ > From: Frank Gruman [mailto:[EMAIL PROTECTED] > Sent: Sunday, October 05, 2008 10:28 PM > To: Teodor Iacob > Cc: samba@lists.samba.org > Subject: RE: [Samba] Nmbd is using the wrong ip address as source > > > > > On Sun, 2008-10-05 at 18:35 +0300, Teodor Iacob wrote: > > > Does anybody have a suggestion for another list or forum to address > > this issue? > > > > > > > -Original Message- > > > From: Teodor Iacob > > > Sent: 4 octombrie 2008 09:14 > > > To: [EMAIL PROTECTED]; samba@lists.samba.org > > > Subject: RE: [Samba] Nmbd is using the wrong ip address as source > > > > > > > > > > > > > -Original Message- > > > > From: [EMAIL PROTECTED] > > > > [mailto:[EMAIL PROTECTED] On Behalf Of > > > > [EMAIL PROTECTED] > > > > Sent: Saturday, October 04,
Re: [Samba] processes not closing
On Fri, Oct 03, 2008 at 01:55:59PM -0500, Doug Tucker wrote: > On Fri, 2008-10-03 at 19:37 +0200, Helmut Hullen wrote: > > Hallo, Doug, > > > > Du (tuckerd) meintest am 03.10.08: > > > > > Umm..ok. I can just state the facts, I'm not pretending to > > > understand them. To make sure I'm communicating properly, If I do: > > > > > /etc/init.d/smb restart > > > > > the old processes and locked files are gone > > > > Sure? > > > > ps aux | grep [sn]mbd > > > > is more reliable. Ok - it only shows processes, no locked file. > > > > Viele Gruesse! > > Helmut > > Oh, you know what, I have provided some bad info, please forgive me. > I'm thinking one thing and you can't see what I'm doing. At the OS > level, the process *IS* gone. However, smbstatus still shows the > process alive, and the user cannot access the file until it no longer > shows up in smbstatus (such as on a samba restart). Oddly, it even > shows up with the same pid as what you just killed. Ok, if you're killing smbd with a kill -9 then it doesnt' get chance to clean up its share mode records and so you will see this. However, as subsequent smbd's notice this pid no longer exists they should self-clean out the dead open mode records (Samba is designed to be self-repairing this way). Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problems with Share Modes "fill_share_mode_lock failed"
On Fri, Oct 03, 2008 at 08:05:05AM -0300, Ricardo Santos wrote: > Hi, my details: > > Server: 3.2.3 > Client: win2k8 > > When I try list contents of a shared directory through an ASP script > (win2k8 is the client), it's take much time and on samba I saw many > times (4 times for each file) the same error: "fill_share_mode_lock > failed" > > I tried "shares mode = No" but no success > > It's the log: > > ...:49, 3] locking/locking.c:fetch_share_mode_unlocked(857) > fill_share_mode_lock failed > ...:49, 3] smbd/process.c:process_smb(1549) > Transaction 50769 of length 142 (0 toread) > ...:49, 3] smbd/process.c:switch_message(1361) > switch message SMBtrans2 (pid 22032) conn 0xb846b478 > ...:49, 3] smbd/trans2.c:call_trans2qfilepathinfo(3932) > call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004 > ...:49, 3] smbd/vfs.c:check_reduced_name(854) > reduce_name [web/xml/myfile.xml] [/web_virtual/domain] > ...:49, 3] smbd/vfs.c:check_reduced_name(963) > reduce_name: web/xml/myfile.xml reduced to > /web_virtual/domain/web/xml/myfile.xml > ...:49, 3] locking/locking.c:fetch_share_mode_unlocked(857) > fill_share_mode_lock failed > ...:49, 3] smbd/trans2.c:call_trans2qfilepathinfo(4006) > call_trans2qfilepathinfo web/xml/myfile.xml (fnum = -1) level=1004 > call=5 total_data=0 > ...:49, 3] smbd/process.c:process_smb(1549) > Transaction 50770 of length 142 (0 toread) > ...:49, 3] smbd/process.c:switch_message(1361) > switch message SMBtrans2 (pid 22032) conn 0xb846b478 > ...:49, 3] smbd/trans2.c:call_trans2qfilepathinfo(3932) > call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1005 > ...:49, 3] smbd/vfs.c:check_reduced_name(854) > reduce_name [web/xml/myfile.xml] [/web_virtual/domain] > ...:49, 3] smbd/vfs.c:check_reduced_name(963) > reduce_name: web/xml/myfile.xml reduced to > /web_virtual/domain/web/xml/myfile.xml > ...:49, 3] locking/locking.c:fetch_share_mode_unlocked(857) > fill_share_mode_lock failed > > Anyone could help me ? That shouldn't happen. Please post your smb.conf and also a debug level 10 log. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Cannot get shares to show up
On 10/6/2008, Jesse Stone ([EMAIL PROTECTED]) wrote: > My "Home" directory comes up as a share in Network Neighborhood but it also > has browsable=no which is confusing: You might like the 'hide unreadable' option - it can really make navigating shares with lots of subfolders much easier, if you only have access to a few of them... -- Best regards, Charles -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Broken links in online docs
All of the links on this page appear to be broken. Of course, I didn't click on every one, but after discovering thet the link to 'hide unreadable' was broken, I clicked on a few more, and they all resulted in Not Found errors... http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/AccessControls.html Scroll down abou halfway to where 'hide unreadable' is found, and start clicking on links... Not Found The requested URL /samba/docs/man/Samba-HOWTO-Collection/smb.conf.5.html was not found on this server. -- Best regards, Charles -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Password server is not connected - "cli not initilised" issue
On Sat, Oct 04, 2008 at 10:30:28PM +1000, Jake Carroll wrote: > Hi all, > > We are currently upgrading some core infrastructure and authentication > hosts (Mac OS X 10.4.11 Open Directory/OpenLDAP/KDC --> 10.5.5). We've > run into an interesting snag however. > > The Sun host that we use for sharing out files over Samba 3.0.28a (Sun's > currently shipped, supported version of Samba) worked perfectly with the > directory master running Mac OS X 10.4.11. When upgraded to 10.5.5 Server > however, we are given the following errors on the samba/Sun side of > things: > > [2008/10/04 17:40:59, 1, pid=2237] auth/auth_server.c:(247) > password server is not connected (cli not initilised) > > I have done a bit of searching and can't actually find out what this > *really* means. We need to see a debug log level 10 to see what is going on here. Thanks, Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] CIFS Mounting Issues
usually you get that error because of a bad username/password. instead of using credentials, try -o username=sgerteisen,password=abc123 Steve Gerteisen wrote: Attempting to mount a share from a NetApp FAS using Win2K domain authentication. Using a credentials file. For testing purposes, actions have been performed as root. System info... OS: Debian 4.0r4a, kernel 2.6.18-6-amd64. mount.cifs version: 1.10-3.0.24 Authentication appears to be occurring, however I am still receiving a mount error. Command output below, strace output attached... Any help would be appreciated. --begin output-- workstation1:~# mount -t cifs //192.168.0.25/mysqldb /mnt/fas/ -o credentials=/root/.creds mount error 13 = Permission denied Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) workstation1:~# echo $? 255 --end output-- V/R, Steve -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] CIFS Mounting Issues
Attempting to mount a share from a NetApp FAS using Win2K domain authentication. Using a credentials file. For testing purposes, actions have been performed as root. System info... OS: Debian 4.0r4a, kernel 2.6.18-6-amd64. mount.cifs version: 1.10-3.0.24 Authentication appears to be occurring, however I am still receiving a mount error. Command output below, strace output attached... Any help would be appreciated. --begin output-- workstation1:~# mount -t cifs //192.168.0.25/mysqldb /mnt/fas/ -o credentials=/root/.creds mount error 13 = Permission denied Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) workstation1:~# echo $? 255 --end output-- V/R, Steve -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] setgid bit disappears
I have a samba server (without acls for better performance in ext3) with shares where users create new directories and put their files. I need the setgid bit to force the new directories and files to belong to a shared group of users (not the primary group of the user that creates it). When users create new directories the setgid bit is inherited and works fine. Users can set permissions for their new directories through the Windows interface. But unfortunately then the setgid bit disappears. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Cannot get shares to show up
Thanks Ryan, NOTE: Question at bottom. :) I guess I need to review the Samba documentation better. I was using the examples provided in smb.conf and thought that "Browsible" meant that people other than "Valid Users" could see the stuff inside a share. For example, My "Home" directory comes up as a share in Network Neighborhood but it also has browsable=no which is confusing: [homes] comment = Home valid users = %S read only = no browsable = no I'm not disagreeing with you, just pointing out how I was confused. I will read through the documentation again on shares to ensure I am setting them up correctly. QUESTION: Simply using preexec to mount a drive prior to showing the contents doesn't sound like it'll be a robust enough solution when you have multiple people hitting the same share. Is it common practice to point pre and postexec to a script that determines whether a mount has already been mounted? Does anyone have any examples of a script that does this? I am learning Python and have no problems attempting to write this myself as it seems fairly straight forward. I guess my question is more "Is this the best approach?" -Jesse On Sun, Oct 5, 2008 at 7:23 PM, Ryan Bair <[EMAIL PROTECTED]> wrote: > Sorry, meant to reply all on that. > > On Sun, Oct 5, 2008 at 10:22 PM, Ryan Bair <[EMAIL PROTECTED]> wrote: > > By showing up I assume you mean showing up in the listing of shares > > for the computer? > > > > The "browsable = no" would be your problem. It makes the share not > > browsable. :-) > > > > --Ryan > > > > On Sun, Oct 5, 2008 at 6:50 PM, Jesse Stone <[EMAIL PROTECTED]> > wrote: > >> I apologize if this is a really silly question but I've been messing > with > >> this for awhile now and cannot see any typos that would prevent these > shares > >> from showing up. > >> > >> I'm trying two things I've never done before so I want to make sure to > point > >> them out: > >> > >> 1) I am using groups in the "valid users" section > >> 2) I am using preexec and postexec on each share > >> > >> Example: > >> > >> [Media] > >> comment = Media(Non-kid)! > >> path = /mnt/media1 > >> read only = yes > >> browsable = no > >> valid users = @mediausers > >> preexec = /bin/mount /mnt/media1 > >> postexec = /bin/umount /mnt/media1 > >> > >> I've done nothing with the /mnt/media1 folder so I expect my next issue > will > >> be permissiones related but I would expect the shares to at least show > up > >> for all users within the @mediausers group. > >> > >> I'm using preexec ect from the cd-rom example contained within the > default > >> smb.conf file. > >> > >> -Jesse > >> -- > >> To unsubscribe from this list go to the following URL and read the > >> instructions: https://lists.samba.org/mailman/listinfo/samba > >> > > > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Performance tweaking from Ubuntu to a Macbook vs. Windows through DLink DIR-655
Volker Lendecke wrote: > > On Sun, Oct 05, 2008 at 12:32:27PM -0700, Roy Abou Assaly wrote: >> socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY SO_RCVBUF=65536 >> SO_SNDBUF=65536 > > On modern Linux systems (i.e. from the last 5 years or so), > just dump the buffer parms completely. The Linux kernel is > fine figuring out the buffer sizes itself. Many thanks Volker. I will be doing just that! -- View this message in context: http://www.nabble.com/Performance-tweaking-from-Ubuntu-to-a-Macbook-vs.-Windows-through-DLink-DIR-655-tp19826605p19839836.html Sent from the Samba - General mailing list archive at Nabble.com. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] make test fails on Solaris 10 for 3.2.4
Hi, I'm trying to check the result of my build of 3.2.4 on Solaris 10, but smbd dies shortly after starting: Running Test suite LD_LIBRARY_PATH=/opt/ws/dists/samba-3.2.4/source/bin CREATE TEST ENVIRONMENT IN './st'...DONE STARTING NMBD...DONE STARTING WINBINDD...DONE STARTING SMBD...DONE delaying for nbt name registration smbd failed with status 1! I looked at the smbd_test.log & I see: smbd version 3.2.4 started. Copyright Andrew Tridgell and the Samba Team 1992-2008 standard input is not a socket, assuming -D option gdb_backtrace: ERROR: No debugger found. smbd failed with status 1! Now, I can't tell if smbd is dying because gdb can't be found, or smbd has died & the test script then tries to run gdb to determine why it died & can't find it. If I install samba & load smbd by hand, it starts up without a problem. I haven't found anyone else reporting & a fix, so I'm hoping someone here could help me. Thanks. -John -- John Center Villanova University -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] samba accounts management API
Hello, all I'd like to create, remove, change samba accounts, groups etc. from my own C program. How can I do this, without using samba tools, but some samba API (headers and shared objects). Does samba provide some API (headers and shared objects) for accounts creating etc.? Thank you -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: [ANNOUNCE] Samba 3.3.0pre2 Available for Download
On Thu, Oct 02, 2008 at 07:08:17PM -0400, [EMAIL PROTECTED] wrote: > Regarding "extended cluster support", does that mean CTDB stuff is now > integrated into this version of Samba? ctdb as such is still a separate project, but the Samba integration is all upstream. Volker pgp4Sfu3rJ1pO.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Performance tweaking from Ubuntu to a Macbook vs. Windows through DLink DIR-655
On Sun, Oct 05, 2008 at 12:32:27PM -0700, Roy Abou Assaly wrote: > socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY SO_RCVBUF=65536 > SO_SNDBUF=65536 On modern Linux systems (i.e. from the last 5 years or so), just dump the buffer parms completely. The Linux kernel is fine figuring out the buffer sizes itself. Volker pgpbvBFBdBf5U.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba