[Samba] XP Pro / Redhat / Samba Printer Suggestions

2003-03-28 Thread Randy Millis
I am looking at buying a new home office printer and wondered what you all
might suggest.

My current printer is a very inexpensive Canon BubbleJet, and I find it
clogs frequently, has very small ink tanks, and the Maintenance functions
from my XP clients does not work with samba, requiring I switch the printer
cable to an XP machine for maintenance.

My config is this:

- XP Professional workstations (printing via samba)
- RedHat 8 Workstations (printing via lpd)
- Redhat 7.3 Server (wanting to upgrade to 8.0 ASAP)
- Samba 2.2.7a

-- 
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 / Redhat / Samba Printer Suggestions

2003-03-28 Thread Raj Saxena
I think it's time hp put on the logo samba certified !!!


Raj



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Randy Millis
Sent: Friday, March 28, 2003 9:58 AM
To: [EMAIL PROTECTED]
Subject: [Samba] XP Pro / Redhat / Samba Printer Suggestions


I am looking at buying a new home office printer and wondered what you all
might suggest.

My current printer is a very inexpensive Canon BubbleJet, and I find it
clogs frequently, has very small ink tanks, and the Maintenance functions
from my XP clients does not work with samba, requiring I switch the printer
cable to an XP machine for maintenance.

My config is this:

- XP Professional workstations (printing via samba)
- RedHat 8 Workstations (printing via lpd)
- Redhat 7.3 Server (wanting to upgrade to 8.0 ASAP)
- Samba 2.2.7a

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

---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.465 / Virus Database: 263 - Release Date: 3/25/2003

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.465 / Virus Database: 263 - Release Date: 3/25/2003
 

-- 
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 / Redhat / Samba Printer Suggestions

2003-03-28 Thread Joel Hammer
I have a lexmark Z53. Lexmark supplies linux drivers for this machine. So,
all you have to do is send postscript files to the queue and all prints
nicely. You can do maintenance functions from linux.

It gives very nice photo quality prints, too.

This is so simple that I simply don't know why everyone just doesn't
buy this lexmark model and forget all the aggravation.

The only problem I had was printing from windows clients using the
lexmark windows drivers. You have to turn off two-way communication in
the lexmark driver configuration. I don't use lexmark windows drivers
anymore. I just use a fairly generic postscript driver (HP Laserjet III +
or something similar.)

You could leave the printer attached to the windows box all the time
and use smbclient to send print jobs to the printer.

Joel

 I am looking at buying a new home office printer and wondered what you all
 might suggest.
 
 My current printer is a very inexpensive Canon BubbleJet, and I find it
 clogs frequently, has very small ink tanks, and the Maintenance functions
 from my XP clients does not work with samba, requiring I switch the printer
 cable to an XP machine for maintenance.
 
 My config is this:
 
 - XP Professional workstations (printing via samba)
 - RedHat 8 Workstations (printing via lpd)
 - Redhat 7.3 Server (wanting to upgrade to 8.0 ASAP)
 - Samba 2.2.7a
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
-- 
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 linux power
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 Sieb [EMAIL PROTECTED] skrev:  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

=
http://home.no.net/~knutove/knut_ove_hauge_kuren.htm

__
Se den nye Yahoo! Mail på http://no.yahoo.com/
Nytt design, enklere å bruke, alltid tilgang til Adressebok, Kalender og Notisbok
-- 
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 linux power
I have stored your answers and will send it over to
you the next time the problem shows up. 



--- Jack Malone [EMAIL PROTECTED] skrev:  I'm
runing 2.2.4 and 2.2.5 here an have 2 winxp pro
 machines logging into 
 the samba servers on a workgroup with no problems
 either. Not sure what 
 your problem could be.  Also have 2 winxp pro
 machines on my network at 
 home running 2.2.4 samba an they both login with no
 trouble.
 Had 3 before I got married an my roommate moved.
 will soon have wifes 
 machine winxp pro also.
 
 
 
 jack
 
 
 At 01:52 PM 11/14/2002 -0500, Glenn Sieb wrote:
 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
 
 -- 
 To unsubscribe from this list go to the following
 URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba

=
http://home.no.net/~knutove/knut_ove_hauge_kuren.htm

__
Se den nye Yahoo! Mail på http://no.yahoo.com/
Nytt design, enklere å bruke, alltid tilgang til Adressebok, Kalender og Notisbok
-- 
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 linux power
We dont have so good experience here on the list
connecting XP's.It is rather difficult because M$
probably have done something with the XP firewall.
However this could not be the problem here since your
internet connection works fine.Samba uses ports
137(udp) ,138(udp) and 139 (tcp). make sure they are
opened.You must also create the same user/passwd pair 
in linux as in samba, and log in with that in
windows.But here you would probably got an Access
denied error or permission denied error if that was
not ok.Else make sure you have listed up thrusted
interfaces in interfaces=x.x.x.x  127.0.0.1 in
smb.conf.Eventually enable wins in smb.conf and set
the wins ip in tcp/ip prop. in XP to the ip of your
lan card.There could be a lot of other thing you must
do that perhaps sombody else could answer, however I
would check these things I mentioned first.



--- [EMAIL PROTECTED] skrev:  I have a win98
peer to peer network using a Samba
 server for file sharing.
 There 6 Machines on the net.  I'm adding a XP Pro
 and cannot see the neighborhood network.  I can get
 out to the Internet.  I've made sure the workgroup
 name is correct and the XP is not set as DHCP.  Our
 router is the DHCP.  Is there something different
 about setting up the user for the XP Pro?  I'm
 creating the user by:  adduser, passwd, smbpasswd
 -a.
 Any help would be appreciated.
 

__
 The NEW Netscape 7.0 browser is now available.
 Upgrade now!

http://channels.netscape.com/ns/browsers/download.jsp
 
 
 Get your own FREE, personal Netscape Mail account
 today at http://webmail.netscape.com/
 -- 
 To unsubscribe from this list go to the following
 URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba

=
http://home.no.net/~knutove/knut_ove_hauge_kuren.htm

__
Se den nye Yahoo! Mail på http://no.yahoo.com/
Nytt design, enklere å bruke, alltid tilgang til Adressebok, Kalender og Notisbok
-- 
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] XP Pro and Samba 3.0-alpha1.9

2002-10-03 Thread Bradley W. Langhorst

On Wed, 2002-10-02 at 09:14, Irving Carrion wrote:
 Not in my case.  The add user script worked in the previous version
 but when I upgraded from Samba 2.2.3a to the latest CVS version it no
 longer worked.  The way I got it working was to use the add machine
 script.  Now it works just fine.  Anyway, try them both -n- see what ya
 get.
those scripts are great for automating things but
if the machine account already exists it's irrelevant...


brad

-- 
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 3.0-alpha1.9

2002-10-02 Thread Kalkoul Morad

I believed this was enough to add a machine:

add user script = /usr/sbin/useradd -d /dev/null -g 502 -s
/bin/false -M %u 

in my smb.conf




-Message d'origine-
De : Irving Carrion [mailto:[EMAIL PROTECTED]]
Envoyé : mardi 1 octobre 2002 19:52
À : 'Kalkoul Morad'; [EMAIL PROTECTED]
Objet : RE: [Samba] XP Pro and Samba 3.0-alpha1.9


I think you need to add the add machine script command in your
smb.conf.  check man smb.conf for more info.

Hope this helps.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Kalkoul Morad
Sent: Tuesday, October 01, 2002 12:37 PM
To: [EMAIL PROTECTED]
Subject: [Samba] XP Pro and Samba 3.0-alpha1.9


Hi everybody,

I set up Samba 3.0alpha1.9 on a RH7.2 and I want  to configure it as a
Primary Domain Controller.
Below , my smb.conf:
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2002/10/01 09:04:58

# Global parameters
[global]
;Nom du domaine
workgroup = MOMODOM

;Nom netBios de la machine
netbios name = SRV2000

;Commentaires qui sera affiche dans le vouisinage réseau
server string = Samba Server Beta Test 3.0

encrypt passwords = Yes

password server = bin/passwd

passwd program = /usr/bin/passwd  %u

unix password sync = No

log file = /var/log/samba/SMB%m.log

max log size = 0

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

domain admin group = root@SRV2000

;   add user script = /usr/sbin/useradd -d /dev/null -g 502 -s
/bin/false -M %u

logon script = logon.cmd

logon path = \\%N\%u\profiles

logon drive = H:

logon home = \\SRV\%U

domain logons = Yes

domain admin group = @admin

os level = 64

preferred master = True

domain master = True

dns proxy = No

wins server = 172.25.4.12

default service = export\samba\test

printing = lprng

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No
writable = Yes

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[export\samba\test]
comment = Partage de test
path = /tmp
guest ok = Yes
browsable = Yes
writeable = Yes

[netlogon]
comment = Network Logon Services
path = /home/netlogon
writeable = no
browseable = no
write list = root

And I create a Machine Trust Account, like this;
#useradd -g admin -d /dev/null -c Samba Test Machine -s /bin/false
SRV2000$
#passwd -l SRV2000$
#smbpasswd -a -m SRV2000$ (I found some docs with $ to put here and
other
without, What do I put)

For me, my Machine trust account is OK.
To create a samba manager 
#smbpasswd -a root
and I use it to join the domain.

But when I try to join the Domain MOMODOM , it is refused because user
unknown  or incorrect password
And in the samba log file :
rpc_server/srv_netlog_nt.c:get_md4pw(154)
get_md4pw: Workstation SRV2000$: no account in domain

Someone has an Idea?

Thanks in advance, Mo







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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
--
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 3.0-alpha1.9

2002-10-02 Thread Irving Carrion

Not in my case.  The add user script worked in the previous version
but when I upgraded from Samba 2.2.3a to the latest CVS version it no
longer worked.  The way I got it working was to use the add machine
script.  Now it works just fine.  Anyway, try them both -n- see what ya
get.

IRV

-Original Message-
From: Kalkoul Morad [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 02, 2002 3:04 AM
To: 'Irving Carrion'; Kalkoul Morad; [EMAIL PROTECTED]
Subject: RE: [Samba] XP Pro and Samba 3.0-alpha1.9

I believed this was enough to add a machine:

add user script = /usr/sbin/useradd -d /dev/null -g 502 -s
/bin/false -M %u 

in my smb.conf




-Message d'origine-
De : Irving Carrion [mailto:[EMAIL PROTECTED]]
Envoyé : mardi 1 octobre 2002 19:52
À : 'Kalkoul Morad'; [EMAIL PROTECTED]
Objet : RE: [Samba] XP Pro and Samba 3.0-alpha1.9


I think you need to add the add machine script command in your
smb.conf.  check man smb.conf for more info.

Hope this helps.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Kalkoul Morad
Sent: Tuesday, October 01, 2002 12:37 PM
To: [EMAIL PROTECTED]
Subject: [Samba] XP Pro and Samba 3.0-alpha1.9


Hi everybody,

I set up Samba 3.0alpha1.9 on a RH7.2 and I want  to configure it as a
Primary Domain Controller.
Below , my smb.conf:
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2002/10/01 09:04:58

# Global parameters
[global]
;Nom du domaine
workgroup = MOMODOM

;Nom netBios de la machine
netbios name = SRV2000

;Commentaires qui sera affiche dans le vouisinage réseau
server string = Samba Server Beta Test 3.0

encrypt passwords = Yes

password server = bin/passwd

passwd program = /usr/bin/passwd  %u

unix password sync = No

log file = /var/log/samba/SMB%m.log

max log size = 0

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

domain admin group = root@SRV2000

;   add user script = /usr/sbin/useradd -d /dev/null -g 502 -s
/bin/false -M %u

logon script = logon.cmd

logon path = \\%N\%u\profiles

logon drive = H:

logon home = \\SRV\%U

domain logons = Yes

domain admin group = @admin

os level = 64

preferred master = True

domain master = True

dns proxy = No

wins server = 172.25.4.12

default service = export\samba\test

printing = lprng

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No
writable = Yes

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[export\samba\test]
comment = Partage de test
path = /tmp
guest ok = Yes
browsable = Yes
writeable = Yes

[netlogon]
comment = Network Logon Services
path = /home/netlogon
writeable = no
browseable = no
write list = root

And I create a Machine Trust Account, like this;
#useradd -g admin -d /dev/null -c Samba Test Machine -s /bin/false
SRV2000$
#passwd -l SRV2000$
#smbpasswd -a -m SRV2000$ (I found some docs with $ to put here and
other
without, What do I put)

For me, my Machine trust account is OK.
To create a samba manager 
#smbpasswd -a root
and I use it to join the domain.

But when I try to join the Domain MOMODOM , it is refused because user
unknown  or incorrect password
And in the samba log file :
rpc_server/srv_netlog_nt.c:get_md4pw(154)
get_md4pw: Workstation SRV2000$: no account in domain

Someone has an Idea?

Thanks in advance, Mo







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

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

--
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 3.0-alpha1.9

2002-10-02 Thread Kalkoul Morad

add machine script is not validate by checking with testparm.Is it normal?

-Message d'origine-
De : Irving Carrion [mailto:[EMAIL PROTECTED]]
Envoyé : mercredi 2 octobre 2002 15:14
À : 'Kalkoul Morad'; [EMAIL PROTECTED]
Objet : RE: [Samba] XP Pro and Samba 3.0-alpha1.9


Not in my case.  The add user script worked in the previous version
but when I upgraded from Samba 2.2.3a to the latest CVS version it no
longer worked.  The way I got it working was to use the add machine
script.  Now it works just fine.  Anyway, try them both -n- see what ya
get.

IRV

-Original Message-
From: Kalkoul Morad [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 02, 2002 3:04 AM
To: 'Irving Carrion'; Kalkoul Morad; [EMAIL PROTECTED]
Subject: RE: [Samba] XP Pro and Samba 3.0-alpha1.9

I believed this was enough to add a machine:

add user script = /usr/sbin/useradd -d /dev/null -g 502 -s
/bin/false -M %u 

in my smb.conf




-Message d'origine-
De : Irving Carrion [mailto:[EMAIL PROTECTED]]
Envoyé : mardi 1 octobre 2002 19:52
À : 'Kalkoul Morad'; [EMAIL PROTECTED]
Objet : RE: [Samba] XP Pro and Samba 3.0-alpha1.9


I think you need to add the add machine script command in your
smb.conf.  check man smb.conf for more info.

Hope this helps.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Kalkoul Morad
Sent: Tuesday, October 01, 2002 12:37 PM
To: [EMAIL PROTECTED]
Subject: [Samba] XP Pro and Samba 3.0-alpha1.9


Hi everybody,

I set up Samba 3.0alpha1.9 on a RH7.2 and I want  to configure it as a
Primary Domain Controller.
Below , my smb.conf:
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2002/10/01 09:04:58

# Global parameters
[global]
;Nom du domaine
workgroup = MOMODOM

;Nom netBios de la machine
netbios name = SRV2000

;Commentaires qui sera affiche dans le vouisinage réseau
server string = Samba Server Beta Test 3.0

encrypt passwords = Yes

password server = bin/passwd

passwd program = /usr/bin/passwd  %u

unix password sync = No

log file = /var/log/samba/SMB%m.log

max log size = 0

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

domain admin group = root@SRV2000

;   add user script = /usr/sbin/useradd -d /dev/null -g 502 -s
/bin/false -M %u

logon script = logon.cmd

logon path = \\%N\%u\profiles

logon drive = H:

logon home = \\SRV\%U

domain logons = Yes

domain admin group = @admin

os level = 64

preferred master = True

domain master = True

dns proxy = No

wins server = 172.25.4.12

default service = export\samba\test

printing = lprng

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No
writable = Yes

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[export\samba\test]
comment = Partage de test
path = /tmp
guest ok = Yes
browsable = Yes
writeable = Yes

[netlogon]
comment = Network Logon Services
path = /home/netlogon
writeable = no
browseable = no
write list = root

And I create a Machine Trust Account, like this;
#useradd -g admin -d /dev/null -c Samba Test Machine -s /bin/false
SRV2000$
#passwd -l SRV2000$
#smbpasswd -a -m SRV2000$ (I found some docs with $ to put here and
other
without, What do I put)

For me, my Machine trust account is OK.
To create a samba manager 
#smbpasswd -a root
and I use it to join the domain.

But when I try to join the Domain MOMODOM , it is refused because user
unknown  or incorrect password
And in the samba log file :
rpc_server/srv_netlog_nt.c:get_md4pw(154)
get_md4pw: Workstation SRV2000$: no account in domain

Someone has an Idea?

Thanks in advance, Mo







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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
--
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 3.0-alpha1.9

2002-10-02 Thread Irving Carrion

I have Samba version 2.999+3.0cvs20 and testparm does not complain about
add machine script  command.  I'm really not sure why your testparm
says it's not valid.  Did you try it though?  

This is what I get from the docs:

///BEGIN DOC
add machine script (G)
This is the full pathname to a script that will be run by smbd(8) when a
machine is added to it's domain using the administrator username and
password method. 

This option is only required when using sam back-ends tied to the Unix
uid method of RID calculation such as smbpasswd. This option is only
available in Samba 3.0.

Default: add machine script = empty string 

Example: add machine script = /usr/sbin/adduser -n -g machines -c
Machine -d /dev/null -s /bin/false %u
///END DOC

Hope this info helps!
IRV

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Kalkoul Morad
Sent: Wednesday, October 02, 2002 9:53 AM
To: 'Irving Carrion'; Kalkoul Morad; [EMAIL PROTECTED]
Subject: RE: [Samba] XP Pro and Samba 3.0-alpha1.9

add machine script is not validate by checking with testparm.Is it
normal?

-Message d'origine-
De : Irving Carrion [mailto:[EMAIL PROTECTED]]
Envoyé : mercredi 2 octobre 2002 15:14
À : 'Kalkoul Morad'; [EMAIL PROTECTED]
Objet : RE: [Samba] XP Pro and Samba 3.0-alpha1.9


Not in my case.  The add user script worked in the previous version
but when I upgraded from Samba 2.2.3a to the latest CVS version it no
longer worked.  The way I got it working was to use the add machine
script.  Now it works just fine.  Anyway, try them both -n- see what ya
get.

IRV

-Original Message-
From: Kalkoul Morad [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 02, 2002 3:04 AM
To: 'Irving Carrion'; Kalkoul Morad; [EMAIL PROTECTED]
Subject: RE: [Samba] XP Pro and Samba 3.0-alpha1.9

I believed this was enough to add a machine:

add user script = /usr/sbin/useradd -d /dev/null -g 502 -s
/bin/false -M %u 

in my smb.conf




-Message d'origine-
De : Irving Carrion [mailto:[EMAIL PROTECTED]]
Envoyé : mardi 1 octobre 2002 19:52
À : 'Kalkoul Morad'; [EMAIL PROTECTED]
Objet : RE: [Samba] XP Pro and Samba 3.0-alpha1.9


I think you need to add the add machine script command in your
smb.conf.  check man smb.conf for more info.

Hope this helps.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Kalkoul Morad
Sent: Tuesday, October 01, 2002 12:37 PM
To: [EMAIL PROTECTED]
Subject: [Samba] XP Pro and Samba 3.0-alpha1.9


Hi everybody,

I set up Samba 3.0alpha1.9 on a RH7.2 and I want  to configure it as a
Primary Domain Controller.
Below , my smb.conf:
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2002/10/01 09:04:58

# Global parameters
[global]
;Nom du domaine
workgroup = MOMODOM

;Nom netBios de la machine
netbios name = SRV2000

;Commentaires qui sera affiche dans le vouisinage réseau
server string = Samba Server Beta Test 3.0

encrypt passwords = Yes

password server = bin/passwd

passwd program = /usr/bin/passwd  %u

unix password sync = No

log file = /var/log/samba/SMB%m.log

max log size = 0

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

domain admin group = root@SRV2000

;   add user script = /usr/sbin/useradd -d /dev/null -g 502 -s
/bin/false -M %u

logon script = logon.cmd

logon path = \\%N\%u\profiles

logon drive = H:

logon home = \\SRV\%U

domain logons = Yes

domain admin group = @admin

os level = 64

preferred master = True

domain master = True

dns proxy = No

wins server = 172.25.4.12

default service = export\samba\test

printing = lprng

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No
writable = Yes

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[export\samba\test]
comment = Partage de test
path = /tmp
guest ok = Yes
browsable = Yes
writeable = Yes

[netlogon]
comment = Network Logon Services
path = /home/netlogon
writeable = no
browseable = no
write list = root

And I create a Machine Trust Account, like this;
#useradd -g admin -d /dev/null -c Samba Test Machine -s /bin/false
SRV2000$
#passwd -l SRV2000$
#smbpasswd -a -m SRV2000$ (I found some docs with $ to put here and
other
without, What do I put)

For me, my Machine trust account is OK.
To create a samba manager 
#smbpasswd -a root
and I use it to join the domain.

But when I try to join the Domain MOMODOM , it is refused because user
unknown  or incorrect password
And in the samba log file :
rpc_server/srv_netlog_nt.c:get_md4pw

RE: [Samba] XP Pro and Samba 3.0-alpha1.9

2002-10-02 Thread Kalkoul Morad

I am a beginner on samba, can you explain me the means of CVS?

and  with this release can you manage Active Directory?

Thanks a lot

-Message d'origine-
De : Irving Carrion [mailto:[EMAIL PROTECTED]]
Envoyé : mercredi 2 octobre 2002 16:07
À : 'Kalkoul Morad'; [EMAIL PROTECTED]
Objet : RE: [Samba] XP Pro and Samba 3.0-alpha1.9


I have Samba version 2.999+3.0cvs20 and testparm does not complain about
add machine script  command.  I'm really not sure why your testparm
says it's not valid.  Did you try it though?  

This is what I get from the docs:

///BEGIN DOC
add machine script (G)
This is the full pathname to a script that will be run by smbd(8) when a
machine is added to it's domain using the administrator username and
password method. 

This option is only required when using sam back-ends tied to the Unix
uid method of RID calculation such as smbpasswd. This option is only
available in Samba 3.0.

Default: add machine script = empty string 

Example: add machine script = /usr/sbin/adduser -n -g machines -c
Machine -d /dev/null -s /bin/false %u
///END DOC

Hope this info helps!
IRV

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Kalkoul Morad
Sent: Wednesday, October 02, 2002 9:53 AM
To: 'Irving Carrion'; Kalkoul Morad; [EMAIL PROTECTED]
Subject: RE: [Samba] XP Pro and Samba 3.0-alpha1.9

add machine script is not validate by checking with testparm.Is it
normal?

-Message d'origine-
De : Irving Carrion [mailto:[EMAIL PROTECTED]]
Envoyé : mercredi 2 octobre 2002 15:14
À : 'Kalkoul Morad'; [EMAIL PROTECTED]
Objet : RE: [Samba] XP Pro and Samba 3.0-alpha1.9


Not in my case.  The add user script worked in the previous version
but when I upgraded from Samba 2.2.3a to the latest CVS version it no
longer worked.  The way I got it working was to use the add machine
script.  Now it works just fine.  Anyway, try them both -n- see what ya
get.

IRV

-Original Message-
From: Kalkoul Morad [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 02, 2002 3:04 AM
To: 'Irving Carrion'; Kalkoul Morad; [EMAIL PROTECTED]
Subject: RE: [Samba] XP Pro and Samba 3.0-alpha1.9

I believed this was enough to add a machine:

add user script = /usr/sbin/useradd -d /dev/null -g 502 -s
/bin/false -M %u 

in my smb.conf




-Message d'origine-
De : Irving Carrion [mailto:[EMAIL PROTECTED]]
Envoyé : mardi 1 octobre 2002 19:52
À : 'Kalkoul Morad'; [EMAIL PROTECTED]
Objet : RE: [Samba] XP Pro and Samba 3.0-alpha1.9


I think you need to add the add machine script command in your
smb.conf.  check man smb.conf for more info.

Hope this helps.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Kalkoul Morad
Sent: Tuesday, October 01, 2002 12:37 PM
To: [EMAIL PROTECTED]
Subject: [Samba] XP Pro and Samba 3.0-alpha1.9


Hi everybody,

I set up Samba 3.0alpha1.9 on a RH7.2 and I want  to configure it as a
Primary Domain Controller.
Below , my smb.conf:
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2002/10/01 09:04:58

# Global parameters
[global]
;Nom du domaine
workgroup = MOMODOM

;Nom netBios de la machine
netbios name = SRV2000

;Commentaires qui sera affiche dans le vouisinage réseau
server string = Samba Server Beta Test 3.0

encrypt passwords = Yes

password server = bin/passwd

passwd program = /usr/bin/passwd  %u

unix password sync = No

log file = /var/log/samba/SMB%m.log

max log size = 0

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

domain admin group = root@SRV2000

;   add user script = /usr/sbin/useradd -d /dev/null -g 502 -s
/bin/false -M %u

logon script = logon.cmd

logon path = \\%N\%u\profiles

logon drive = H:

logon home = \\SRV\%U

domain logons = Yes

domain admin group = @admin

os level = 64

preferred master = True

domain master = True

dns proxy = No

wins server = 172.25.4.12

default service = export\samba\test

printing = lprng

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No
writable = Yes

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[export\samba\test]
comment = Partage de test
path = /tmp
guest ok = Yes
browsable = Yes
writeable = Yes

[netlogon]
comment = Network Logon Services
path = /home/netlogon
writeable = no
browseable = no
write list = root

And I create a Machine Trust Account, like this;
#useradd -g admin -d /dev/null -c Samba Test Machine -s /bin/false
SRV2000$
#passwd -l SRV2000$
#smbpasswd -a -m SRV2000$ (I found some docs

RE: [Samba] XP Pro and Samba 3.0-alpha1.9

2002-10-02 Thread Bradley W. Langhorst

On Wed, 2002-10-02 at 10:21, Kalkoul Morad wrote:
 I am a beginner on samba, can you explain me the means of CVS?
CVS is a source code versioning system
the most recent(and unstable) code is taken directly from that
repository.

 
 and  with this release can you manage Active Directory?
i think that the active directory stuff is still a work in progress 


brad

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



[Samba] XP Pro and Samba 3.0-alpha1.9

2002-10-01 Thread Kalkoul Morad


Hi everybody,

I set up Samba 3.0alpha1.9 on a RH7.2 and I want  to configure it as a
Primary Domain Controller.
Below , my smb.conf:
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2002/10/01 09:04:58

# Global parameters
[global]
;Nom du domaine
workgroup = MOMODOM

;Nom netBios de la machine
netbios name = SRV2000

;Commentaires qui sera affiche dans le vouisinage réseau
server string = Samba Server Beta Test 3.0

encrypt passwords = Yes

password server = bin/passwd

passwd program = /usr/bin/passwd  %u

unix password sync = No

log file = /var/log/samba/SMB%m.log

max log size = 0

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

domain admin group = root@SRV2000

;   add user script = /usr/sbin/useradd -d /dev/null -g 502 -s
/bin/false -M %u

logon script = logon.cmd

logon path = \\%N\%u\profiles

logon drive = H:

logon home = \\SRV\%U

domain logons = Yes

domain admin group = admin

os level = 64

preferred master = True

domain master = True

dns proxy = No

wins server = 172.25.4.12

default service = export\samba\test

printing = lprng

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No
writable = Yes

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[export\samba\test]
comment = Partage de test
path = /tmp
guest ok = Yes
browsable = Yes
writeable = Yes

[netlogon]
comment = Network Logon Services
path = /home/netlogon
writeable = no
browseable = no
write list = root

And I create a Machine Trust Account, like this;
#useradd -g admin -d /dev/null -c Samba Test Machine -s /bin/false
SRV2000$
#passwd -l SRV2000$
#smbpasswd -a -m SRV2000$ (I found some docs with $ to put here and other
without, What do I put)

For me, my Machine trust account is OK.
To create a samba manager 
#smbpasswd -a root
and I use it to join the domain.

But when I try to join the Domain MOMODOM , it is refused because user
unknown  or incorrect password
And in the samba log file :
rpc_server/srv_netlog_nt.c:get_md4pw(154)
get_md4pw: Workstation SRV2000$: no account in domain

Someone has an Idea?

Thanks in advance, Mo







--
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 3.0-alpha1.9

2002-10-01 Thread Bradley W. Langhorst

On Tue, 2002-10-01 at 12:37, Kalkoul Morad wrote:
 
 Hi everybody,
 
 I set up Samba 3.0alpha1.9 on a RH7.2 and I want  to configure it as a
 Primary Domain Controller.
 Below , my smb.conf:
 # Samba config file created using SWAT
 # from 0.0.0.0 (0.0.0.0)
 # Date: 2002/10/01 09:04:58
 
 # Global parameters
 [global]
   ;Nom du domaine
   workgroup = MOMODOM
 
   ;Nom netBios de la machine
   netbios name = SRV2000
 
   ;Commentaires qui sera affiche dans le vouisinage réseau
   server string = Samba Server Beta Test 3.0
 
   encrypt passwords = Yes
 
   password server = bin/passwd
nope - this should be the name of the machine - probably just leave it
out...
 
   passwd program = /usr/bin/passwd  %u
 
   unix password sync = No
 
   log file = /var/log/samba/SMB%m.log
 
   max log size = 0
 
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 
   domain admin group = root@SRV2000
you don't need this (and i don't know if it works in samba3)
instead you should use the group mapping tool smbgroupedit to set up a
mapping between Domain Admins and the unix group root
 
 ; add user script = /usr/sbin/useradd -d /dev/null -g 502 -s
 /bin/false -M %u
 
   logon script = logon.cmd
   
   logon path = \\%N\%u\profiles
 
   logon drive = H:
 
   logon home = \\SRV\%U
 
   domain logons = Yes
 
   domain admin group = admin
you certainly shouldn't have two of these...
 
   os level = 64
 
   preferred master = True
 
   domain master = True
 
   dns proxy = No
 
   wins server = 172.25.4.12
 
   default service = export\samba\test
what are you trying to do with this...
it's not needed for a PDC
 
   printing = lprng
 
 [homes]
   comment = Home Directories
   valid users = %S
you don't need this line...

   read only = No
   create mask = 0664
   directory mask = 0775
   browseable = No
   writable = Yes
 
 [printers]
   comment = All Printers
   path = /var/spool/samba
   printable = Yes
   browseable = No
 
 [export\samba\test]
   comment = Partage de test
   path = /tmp
   guest ok = Yes
   browsable = Yes
   writeable = Yes
 
 [netlogon]
   comment = Network Logon Services
   path = /home/netlogon
   writeable = no
   browseable = no
   write list = root
 
 And I create a Machine Trust Account, like this;
 #useradd -g admin -d /dev/null -c Samba Test Machine -s /bin/false
 SRV2000$
 #passwd -l SRV2000$
 #smbpasswd -a -m SRV2000$ (I found some docs with $ to put here and other
 without, What do I put)
the $ sign needs to be there in the files.
I think some versions of smbpasswd add the $ sign automatically
just make sure that the files look right..

best wishes!

brad

--
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 3.0-alpha1.9

2002-10-01 Thread Irving Carrion

I think you need to add the add machine script command in your
smb.conf.  check man smb.conf for more info.

Hope this helps.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Kalkoul Morad
Sent: Tuesday, October 01, 2002 12:37 PM
To: [EMAIL PROTECTED]
Subject: [Samba] XP Pro and Samba 3.0-alpha1.9


Hi everybody,

I set up Samba 3.0alpha1.9 on a RH7.2 and I want  to configure it as a
Primary Domain Controller.
Below , my smb.conf:
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2002/10/01 09:04:58

# Global parameters
[global]
;Nom du domaine
workgroup = MOMODOM

;Nom netBios de la machine
netbios name = SRV2000

;Commentaires qui sera affiche dans le vouisinage réseau
server string = Samba Server Beta Test 3.0

encrypt passwords = Yes

password server = bin/passwd

passwd program = /usr/bin/passwd  %u

unix password sync = No

log file = /var/log/samba/SMB%m.log

max log size = 0

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

domain admin group = root@SRV2000

;   add user script = /usr/sbin/useradd -d /dev/null -g 502 -s
/bin/false -M %u

logon script = logon.cmd

logon path = \\%N\%u\profiles

logon drive = H:

logon home = \\SRV\%U

domain logons = Yes

domain admin group = @admin

os level = 64

preferred master = True

domain master = True

dns proxy = No

wins server = 172.25.4.12

default service = export\samba\test

printing = lprng

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No
writable = Yes

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[export\samba\test]
comment = Partage de test
path = /tmp
guest ok = Yes
browsable = Yes
writeable = Yes

[netlogon]
comment = Network Logon Services
path = /home/netlogon
writeable = no
browseable = no
write list = root

And I create a Machine Trust Account, like this;
#useradd -g admin -d /dev/null -c Samba Test Machine -s /bin/false
SRV2000$
#passwd -l SRV2000$
#smbpasswd -a -m SRV2000$ (I found some docs with $ to put here and
other
without, What do I put)

For me, my Machine trust account is OK.
To create a samba manager 
#smbpasswd -a root
and I use it to join the domain.

But when I try to join the Domain MOMODOM , it is refused because user
unknown  or incorrect password
And in the samba log file :
rpc_server/srv_netlog_nt.c:get_md4pw(154)
get_md4pw: Workstation SRV2000$: no account in domain

Someone has an Idea?

Thanks in advance, Mo







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

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