[Samba] 2K/ME/XP Connectivity

Shane Bearham shane at xtremetech.com.au
Tue Jun 4 20:18:03 GMT 2002


Hi All,
I'm new to the list, but basically I've got some problems
with Samba & Win 2K, XP or ME.

I have a Slackware 8.0 server & 3 PC's with XP or ME
No Domain controllers or anything, just a Workgroup.
Samba version was 2.2.0a but after having problems trying
to connect XP Home edition, then changing to XP Pro with
still the same problem I decided to pulling the distro ver
of samba & update to 2.2.4 from source... hoping that maybe
there was a bug or two in relation to XP..
Unfortunately one of the
I'm also using encrypted passwords to simplify the windows install.

Basically the problem is now this, after XP/ME boots, the username
and password are entered, the samba logs confirm successful login...
Windows then hangs. All I can decipher from the logs is that
a file /DESKTOP.INI is being referenced... nothing can be done
on the PC during this "hang" which after many minutes, logs
indicate a successful disconnect from the service.

If the network is pulled the problem goes away with the user being
able to use the PC normally, obviously with no server, however plugging
the PC back in to the network causes the PC to again lockup. I define
lockup in this case as the mouse moves but appears no icons or start button
can "pressed" though there is a response serveral(many) minutes later
to that previous attempt to "do" something....

Permissions of the shares is set to 777

I hope someone can shed some light on this....

At the moment I look somewhat a fool after recomending Linux/Samba
with problems like this. I have installed many Linux/Samba sites
though to date XP was never used, it has always been the lesser evils
of Windows installed.

Below is a excerpt from one of the logs
=============================================================
Allowed connection from (192.168.2.19)
[2002/06/04 18:40:28, 3] smbd/password.c:authorise_login(736)
authorise_login: ACCEPTED: validated uid ok as non-guest (user=owen)
[2002/06/04 18:40:28, 3] smbd/service.c:make_connection(478)
Forced group users
[2002/06/04 18:40:28, 3] smbd/service.c:make_connection(491)
Connect path is /mnt/storage/storage
[2002/06/04 18:40:28, 3] smbd/sec_ctx.c:push_sec_ctx(282)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2002/06/04 18:40:28, 3] smbd/uid.c:push_conn_ctx(284)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2002/06/04 18:40:28, 3] smbd/sec_ctx.c:set_sec_ctx(314)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2002/06/04 18:40:28, 3] smbd/sec_ctx.c:get_current_groups(162)
get_current_groups: user is in 1 groups: 100


#smb.conf
#======================= Global Settings 
=====================================
[global]
   workgroup = OFFICE_SYD
   server string = Sydney Linux Server
   hosts allow = 192.168.2. 192.168.100. 127.
   load printers = no
   printcap name = /etc/printcap
   log file = /var/log/samba.%m
   max log size = 50
   debug level = 3
   security = user
   encrypt passwords = yes
   unix password sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *New* password* %n\n *new* password* %n\n *changed*
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   interfaces = 192.168.2.0/24 127.0.0.0/8
   bind interfaces only = yes
   remote announce = 192.168.100.255/WORKGROUP
   veto files = 
/.*/TheVolumeSettingsFolder/TheFindByContentFolder/Network Trash 
Folder/Temporary Items/
   domain master = yes
   preferred master = yes
   dns proxy = no
   use client driver = yes

#============================ Share Definitions 
==============================
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = yes
   guest ok = yes
   writable = yes
   printable = yes

[public]
   comment = "Server 20GB"
   path = /mnt/storage/storage
   public = yes
   writable = yes
   printable = no
   directory mask = 0775
   create mask = 0644
   force group = users

[home]
  comment = My Home Directory
  path = /home/%u
  public = no
  writable = yes




  8:17pm  up 23 days, 11:34, 14 users,  load average: 1.51, 1.53, 1.45







More information about the samba mailing list