Still [Samba] Problems with Samba 2.2.7 and Mac OSX?

2003-07-03 Thread Glenn Sieb
(Some more info)

I have a FreeBSD server running Samba 2.2.8 now (updated from 2.2.7).. I've 
turned log levels to 10... I have a user who needs this machine to do her 
job, and she uses Mac OS X, the latest 10.2 updates have been applied. She 
routinely cannot connect to this box, and gets an error -36, which means 
she needs to reboot every time she gets this.

The logs show *NOTHING* when she tries to connect and gets a -36. The 
machine is properly joined to the domain, and I can reach it from any of my 
Windows boxes.

She has VERY spotty connections to this... we've set her NetInfo domain to 
be the proper name, she can *ping* the Samba server in question, she can 
SSH to it, but just keeps getting these annoying -36 errors. Even updating 
this to 2.2.8 hasn't fixed anything...

Please--she's getting very upset about not being able to work, and I'm 
getting upset that I don't know Macs well enough to help her out more 
(she's basically our only OS X user).. is there anyone out there who's had 
similar problems getting OS X to talk to Samba?

Help?

Thanks,
G.
SMB log:

[2003/06/30 14:10:09, 3] smbd/sec_ctx.c:set_sec_ctx(329)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/06/30 14:10:09, 5] smbd/uid.c:change_to_root_user(217)
 change_to_root_user: now uid=(0,0) gid=(0,0)
[2003/06/30 14:10:09, 2] smbd/server.c:exit_server(461)
 Closing connections
[2003/06/30 14:10:09, 3] smbd/connection.c:yield_connection(48)
 Yielding connection to
[2003/06/30 14:10:09, 5] smbd/oplock.c:receive_local_message(108)
 receive_local_message: doing select with timeout of 1 ms
[2003/06/30 14:10:09, 3] smbd/server.c:exit_server(495)
 Server exit (Caught TERM signal)
[2003/06/30 14:11:35, 0] smbd/server.c:main(707)
 smbd version 2.2.7a started.
 Copyright Andrew Tridgell and the Samba Team 1992-2002
[2003/06/30 14:11:35, 1] lib/debug.c:debug_message(258)
 INFO: Debug class all level = 10   (pid 13608 from pid 13608)
 doing parameter preferred master = No
 doing parameter local master = No
 doing parameter domain master = No
 doing parameter wins proxy = Yes
 doing parameter wins server = 65.246.245.13
[2003/06/30 14:11:35, 4] lib/wins_srv.c:wins_srv_load_list(139)
 wins_srv_load_list(): Building WINS server list:
 65.246.245.13,
 1 WINS server listed.
 doing parameter winbind uid = 1-2
 doing parameter winbind gid = 20001-3
 doing parameter template homedir = /home/%U
 doing parameter template shell = /usr/local/bin/bash
 doing parameter winbind separator = +
 doing parameter guest account = smbguest
 doing parameter printer admin = root,ges
 doing parameter hosts allow = 65.198.68. 209.223.209. 127. 65.246.246. 
localhost 65.246.245. 65.246.244. 192.168.
 doing parameter printing = lprng
 doing parameter printcap name = /sw/samba/lib/printcap
 doing parameter invalid users = root toor daemon operator bin tty kmem 
games news man bind uucp xten pop nobody ftp
[2003/06/30 14:11:35, 2] param/loadparm.c:do_section(3055)
 Processing section [homes]
 doing parameter writeable = Yes
 doing parameter guest ok = Yes
[2003/06/30 14:11:35, 2] param/loadparm.c:do_section(3055)
 Processing section [cdroms]
 doing parameter comment = CD ROM storage
 doing parameter path = /home/cdroms
[2003/06/30 14:11:35, 2] param/loadparm.c:do_section(3055)
 Processing section [inweb]
 doing parameter comment = Internal Web Stage
 doing parameter path = /home/inweb
 doing parameter write list = ges slajide
 doing parameter create mask = 0664
 doing parameter directory mask = 0775
[2003/06/30 14:11:35, 2] param/loadparm.c:do_section(3055)
 Processing section [exweb]
 doing parameter comment = External Web Stage
 doing parameter path = /home/exweb
 doing parameter write list = ges slajide
 doing parameter create mask = 0664
 doing parameter directory mask = 0775
[2003/06/30 14:11:35, 2] param/loadparm.c:do_section(3055)
 Processing section [tmp]
 doing parameter comment = temp files
 doing parameter path = /tmp
 doing parameter guest ok = Yes
[2003/06/30 14:11:35, 2] param/loadparm.c:do_section(3055)
 Processing section [weblogs]
 doing parameter comment = External web site access logs
 doing parameter path = /var/log/weblogs
 doing parameter valid users = @weblogs
 doing parameter writeable = Yes
[2003/06/30 14:11:35, 4] param/loadparm.c:lp_load(3485)
 pm_process() returned Yes
[2003/06/30 14:11:35, 3] param/loadparm.c:lp_add_ipc(2023)
 adding IPC service IPC$
[2003/06/30 14:11:35, 3] param/loadparm.c:lp_add_ipc(2023)
 adding IPC service ADMIN$
[2003/06/30 14:11:35, 10] param/loadparm.c:set_server_role(3431)
 set_server_role: ROLE_DOMAIN_MEMBER
[2003/06/30 14:11:35, 7] param/loadparm.c:lp_servicenumber(3594)
 lp_servicenumber: couldn't find printers
[2003/06/30 14:11:35, 7] param/loadparm.c:lp_servicenumber(3594)
 lp_servicenumber: couldn't find printers
[2003/06/30 14:11:35, 6] param/loadparm.c:lp_file_list_changed(2297)
 lp_file_list_changed()
 file /sw/samba-2.2.7a/lib/smb.conf - /sw/samba-2.2.7a/lib/smb.conf  last 
mod_time: Thu 

[Samba] Problems with Samba 2.2.7 and Mac OSX?

2003-06-30 Thread Glenn Sieb
I have a FreeBSD server running Samba 2.2.7.. I've turned log levels to 
10... I have a user who needs this machine to do her job, and she uses Mac 
OS X. She routinely cannot connect to this box, and gets an error -36.

The logs show *NOTHING* when she tries to connect. The machine is properly 
joined to the domain, and I can reach it from Winblows.

Help?

Thanks,
G.
SMB log:

[2003/06/30 14:10:09, 3] smbd/sec_ctx.c:set_sec_ctx(329)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/06/30 14:10:09, 5] smbd/uid.c:change_to_root_user(217)
 change_to_root_user: now uid=(0,0) gid=(0,0)
[2003/06/30 14:10:09, 2] smbd/server.c:exit_server(461)
 Closing connections
[2003/06/30 14:10:09, 3] smbd/connection.c:yield_connection(48)
 Yielding connection to
[2003/06/30 14:10:09, 5] smbd/oplock.c:receive_local_message(108)
 receive_local_message: doing select with timeout of 1 ms
[2003/06/30 14:10:09, 3] smbd/server.c:exit_server(495)
 Server exit (Caught TERM signal)
[2003/06/30 14:11:35, 0] smbd/server.c:main(707)
 smbd version 2.2.7a started.
 Copyright Andrew Tridgell and the Samba Team 1992-2002
[2003/06/30 14:11:35, 1] lib/debug.c:debug_message(258)
 INFO: Debug class all level = 10   (pid 13608 from pid 13608)
 doing parameter preferred master = No
 doing parameter local master = No
 doing parameter domain master = No
 doing parameter wins proxy = Yes
 doing parameter wins server = 65.246.245.13
[2003/06/30 14:11:35, 4] lib/wins_srv.c:wins_srv_load_list(139)
 wins_srv_load_list(): Building WINS server list:
 65.246.245.13,
 1 WINS server listed.
 doing parameter winbind uid = 1-2
 doing parameter winbind gid = 20001-3
 doing parameter template homedir = /home/%U
 doing parameter template shell = /usr/local/bin/bash
 doing parameter winbind separator = +
 doing parameter guest account = smbguest
 doing parameter printer admin = root,ges
 doing parameter hosts allow = 65.198.68. 209.223.209. 127. 65.246.246. 
localhost 65.246.245. 65.246.244. 192.168.
 doing parameter printing = lprng
 doing parameter printcap name = /sw/samba/lib/printcap
 doing parameter invalid users = root toor daemon operator bin tty kmem 
games news man bind uucp xten pop nobody ftp
[2003/06/30 14:11:35, 2] param/loadparm.c:do_section(3055)
 Processing section [homes]
 doing parameter writeable = Yes
 doing parameter guest ok = Yes
[2003/06/30 14:11:35, 2] param/loadparm.c:do_section(3055)
 Processing section [cdroms]
 doing parameter comment = CD ROM storage
 doing parameter path = /home/cdroms
[2003/06/30 14:11:35, 2] param/loadparm.c:do_section(3055)
 Processing section [inweb]
 doing parameter comment = Internal Web Stage
 doing parameter path = /home/inweb
 doing parameter write list = ges slajide
 doing parameter create mask = 0664
 doing parameter directory mask = 0775
[2003/06/30 14:11:35, 2] param/loadparm.c:do_section(3055)
 Processing section [exweb]
 doing parameter comment = External Web Stage
 doing parameter path = /home/exweb
 doing parameter write list = ges slajide
 doing parameter create mask = 0664
 doing parameter directory mask = 0775
[2003/06/30 14:11:35, 2] param/loadparm.c:do_section(3055)
 Processing section [tmp]
 doing parameter comment = temp files
 doing parameter path = /tmp
 doing parameter guest ok = Yes
[2003/06/30 14:11:35, 2] param/loadparm.c:do_section(3055)
 Processing section [weblogs]
 doing parameter comment = External web site access logs
 doing parameter path = /var/log/weblogs
 doing parameter valid users = @weblogs
 doing parameter writeable = Yes
[2003/06/30 14:11:35, 4] param/loadparm.c:lp_load(3485)
 pm_process() returned Yes
[2003/06/30 14:11:35, 3] param/loadparm.c:lp_add_ipc(2023)
 adding IPC service IPC$
[2003/06/30 14:11:35, 3] param/loadparm.c:lp_add_ipc(2023)
 adding IPC service ADMIN$
[2003/06/30 14:11:35, 10] param/loadparm.c:set_server_role(3431)
 set_server_role: ROLE_DOMAIN_MEMBER
[2003/06/30 14:11:35, 7] param/loadparm.c:lp_servicenumber(3594)
 lp_servicenumber: couldn't find printers
[2003/06/30 14:11:35, 7] param/loadparm.c:lp_servicenumber(3594)
 lp_servicenumber: couldn't find printers
[2003/06/30 14:11:35, 6] param/loadparm.c:lp_file_list_changed(2297)
 lp_file_list_changed()
 file /sw/samba-2.2.7a/lib/smb.conf - /sw/samba-2.2.7a/lib/smb.conf  last 
mod_time: Thu Jun 26 13:17:25 2003

[2003/06/30 14:11:35, 2] lib/interface.c:add_interface(81)
 added interface ip=65.198.68.143 bcast=65.198.68.191 nmask=255.255.255.192
[2003/06/30 14:11:35, 2] lib/interface.c:add_interface(81)
 added interface ip=65.246.245.19 bcast=65.246.245.63 nmask=255.255.255.192
[2003/06/30 14:11:35, 5] lib/hash.c:hash_table_init(68)
 Hash size = 521.
[2003/06/30 14:11:35, 1] smbd/files.c:file_init(171)
 file_init: Information only: requested 1 open files, 3616 are 
available.
[2003/06/30 14:11:35, 6] lib/charset.c:codepage_initialise(336)
 codepage_initialise: client code page = 850
[2003/06/30 14:11:35, 5] lib/charset.c:load_client_codepage(194)
 load_client_codepage: loading codepage 

Re: [Samba] Problems making use of 2K PDC

2003-01-29 Thread Glenn Sieb
Reset the computer account in the 2k domain and rejoin the domain using:

smbpasswd -j DOMAIN -r DOMAINPDCSMBNAME -UAdministrator%password

Once that's done try:

wbinfo -t

If it says Secret is good then you're set to go..

Glenn

Glenn
--On Wednesday, January 29, 2003 3:47 PM -0600 Kenny Mann 
[EMAIL PROTECTED] wrote:

I'm having problems with samba using the 2K PDC.
I've gotten it to successfully join the 2K PDC via smbpasswd. Winbindd
is running and I can ping it. I've tried googling, but was unsuccessful
at finding something useful. The Windows 2K event viewer shows:

The session setup from the computer DATASRV failed to authenticate. The
name of the account referenced in the security database is DATASRV$.
The following error occurred:
Access is denied.

On my linux box, I'm using datasrv, does case matter?
My box is Lunar-Linux.
AMB Athlon XP 1700+
256MB PC2100 DDR Memory
40GB 7200 RPM hard drive. 2 partitions. 3.5GB and a 35.5 Everything is
installed on the 3.5GB

PDC is Windows 2000 Server
Compaq Prolient w/ 2GB of RAM  20GB Ultra3 SCSI 15K RPM and 80GB 5400
IDE 5400RPM (yeah, I know it sounds funny but the big HD is just for
stale data... Mostly backup)

wbinfo -u gives
0xc022

Wbinfo -t gives
Secret is good

Smb.conf is
[global]
  security = domain
  encrypt passwords = yes
  netbios name = Datasrv
  workgroup = CDROBOT
  log file = /var/log/samba/%m.log
  password server = mainsrv
  domain master  = yes
  os level = 65

  winbind separator = +
  winbind uid = 1-2
  winbind gid = 1-2
  winbind enum users = yes
  winbind enum groups = yes

  template homedir = /home/winnt/%D/%U


[public]
  comment = public
  path = /home/tmp
  read only = no
  public = yes

Testparm complains that the winbind separator might cause problems with
group memobship. I've tried using '-' and it stopped complaining, but
didn't fix the problem. I use '+' because it's used in the docs.

Has anyone experianced this?
Sometimes the users have problems signing on the the PDC saying that no
domain controller exist. Very weird, because after a few tries it seems
to work on 98/ME machines. 2K  XP seem to experience this as well, but
logon anyway.


If anyone needs more info, feel free to ask. TIA!

--KM
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba




---
Glenn E. Sieb
System Administrator
Lumeta Corporation
+1 732 357-3514 (V)
+1 732 564-0731 (Fax)
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] XP Pro And Samba

2002-11-14 Thread Glenn Sieb
On 07:47 PM 11/14/2002 +0100, linux power wrote:

We dont have so good experience here on the list
connecting XP's.


I'm running 2.2.6 here and have no problems with XP (I'm using XP on this 
boxen as we speak). There is something called sign-or-seal which is a 
registry patch you should try using, but I've actually built new XP b0xen 
without any need for patching.

Glenn


---
Glenn E. Sieb
System Administrator
Lumeta Corporation
+1 732 357-3514 (V)
+1 732 564-0731 (Fax)

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] XP Pro And Samba

2002-11-14 Thread Glenn Sieb
I don't know... but our setup here is:

Win2k domain controller (2)
Samba server (2) for unified home dirs for *nix and Windoze, as well as 
print sharing.
Combo Win/FreeBSD clients, depending on the user.

And it Just Works here...

Glenn

On 08:23 PM 11/14/2002 +0100, linux power said the following:
Strange to hear. There have been so many postings here
about the issue from people that couldent make it
although they changed the signofseal signal.


---
Glenn E. Sieb
System Administrator
Lumeta Corporation
+1 732 357-3514 (V)
+1 732 564-0731 (Fax)

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Problems authentication with NT PDCs in security = user

2002-11-07 Thread Glenn Sieb
Try:

security = domain
password server = network name of dc
encrypt passwords = yes
workgroup = domainname

Glenn

On 10:43 AM 11/7/2002 -0800, James Lamanna wrote:

I'm trying to use Samba to connect to a PDC to authenticate any user in a 
domain.
I currently have it set up as:
securty = server
password server = [name of DC]
encrypt passwords = yes
Workgroup = [workgroup name]

---
Glenn E. Sieb
System Administrator
Lumeta Corporation
+1 732 357-3514 (V)
+1 732 564-0731 (Fax)

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Blocking internet access to Samba

2002-10-30 Thread Glenn Sieb
On 08:13 AM 10/31/2002 +1100, Andrew Bartlett wrote:

No, that's 443.  And don't try to run a non-smb server on 445:  It
really breaks MS clients badly...


Yeah--having done that recently, myself, I can certainly attest to the 
screams of horror as Apache started... My contract!!! OMG--I was working 
on that client presentation ALL DAY! etc.. :)

(Well ok -- it wasn't *that* melodramatic.. but you get the drift :))

Glenn


---
Glenn E. Sieb
System Administrator
Lumeta Corporation
+1 732 357-3514 (V)
+1 732 564-0731 (Fax)

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] 2.2.6rc2 and authentication issues...

2002-10-15 Thread Glenn Sieb

We just popped 2.2.6rc2 on to see if we could resolve a few printing 
issues, and now I can't seem to do the printer sharing on any printers on 
the server...

In [global]:
 workgroup = CORP
 netbios name = NEWLUCY
 security = DOMAIN
 encrypt passwords = Yes
 update encrypted = Yes
 password server = LUNA
 pam password change = Yes
 unix password sync = Yes
 log level = 10
 name resolve order = wins lmhosts host bcast
 os level = 0
 preferred master = No
 local master = No
 domain master = No
 wins proxy = Yes
 wins server = 65.198.68.135
 winbind uid = 1-2
 winbind gid = 20001-3
 template homedir = /home/%U
 template shell = /usr/local/bin/bash
 winbind separator = +
 guest account = smbguest
 printer admin = CORP+Domain Admins
 hosts allow = 65.198.68. 127. localhost
 printing = lprng

the printer general settings:
[bw2]
 comment = bw2.corp.lumeta.com
 path = /tmp
 printer admin = ntadmin, root, ges, lumeta, CORP+Domain Admins
 guest ok = Yes
 printable = Yes
 print command = lpr -r -P%p -J '%J' %s
 printer name = bw2

I'm a member of CORP\Domain Admins, and also ges. I've gone through 
smbpasswd and reset my account just to be safe to the same password as the 
domain one. I get Printer settings could not be saved. Operation could not 
be permitted.--I've stopped/removed all lock files/restarted Samba 
still get the same thing...

Any help is appreciated... :-/

Thanks!
Glenn


---
Glenn E. Sieb
System Administrator
Lumeta Corporation
+1 732 357-3514 (V)
+1 732 564-0731 (Fax)

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Looking for some older printer drivers for some HP printers

2002-10-11 Thread Glenn Sieb

I am finding myself in need of some printer drivers for two HP printers 
(HP4550N, HP8150DN) that do NOT have the nifty pretty interface? The ones 
where it was pretty barebones, no form storage or anything.

I'm running 2.2.6rc2 and users still can't seem to change any settings for 
printers, and if I can run the older ( 5e versions) drivers, then people 
can change settings for paper trays and paper types, etc. If anyone can 
point me in a good direction (HP's site is being less-than-useful here..) 
I'd be greatly appreciative!

Thanks!
Glenn

---
Glenn E. Sieb
System Administrator
Lumeta Corporation
+1 732 357-3514 (V)
+1 732 564-0731 (Fax)

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba