Re: [Samba] Vijay - samba box not seen in browse list.

2003-07-20 Thread Marian Mlcoch, Ing
Hi
you not contact me on icq then i write next help.
First remove from your smb.conf lines
interfaces = 192.168.0.229
bind interfaces only = yes

next you check if not firewall is used on linux or w2k for any netwrok
simply ping all necessary machine (w2k linux...) be it IP address not
netbios or dns name! If ping work try telnet to all necesary IP on port 139.
Example  telnet 192.168.0.229 139
If reply connection refused or no route to host then problem is on network
config!

Next try netbios name resolving problems by commands smbclient with IP and
second be netbios name.
smbclient -L \\192.168.0.xx for all necessary machine.
and smbclient -L \\cvsbkup and all necesary netbios names of machine.

Reply with result to me.

Your command is bad!
mount -t smbfs -o username= administrator,password=password
file://cvsbkup/smbshare   /mnt/floppy  gives the error :

Ok is!
mount -t smbfs -o username=administrator,password=password
//cvsbkup/smbshare /mnt/floppy

Marian.



- Original Message - 
From: Vijay Kumar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 4:25 PM
Subject: Re: [Samba] Vijay - samba box not seen in browse list.


 Hi All,

 I have tried various things  and have been browsing and studying a lot
about
 the configurations.
 I am totally confused now. Pity.. I couldt do one simple configuration.

 Please can anyone tell me how do I access a Samba Server from a Windows
2000
 Domain Controller ? I want the Linux Samba Server to authenticate the
users
 .i.e in future if I need mor eusers to access  the Linux share then I will
 be adding/deleing user accounts from the linux box.

 If possible, please help.

 Regards,
 Vijay.

 - Original Message -
 From: Vijay Kumar [EMAIL PROTECTED]
 To: Vizitiu, Ciprian [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Wednesday, July 16, 2003 7:36 PM
 Subject: Re: [Samba] Vijay - samba box not seen in browse list.


  Hi,
 
   smbclient -L localhost   still gives the error :
 
   added interface ip=192.168.0.229 bcast=192.168.0.255
nmask=255.255.255.0
  error connecting to 127.0.0.1:139 (Connection refused)
  error connecting to 127.0.0.1 (Connection refused)
  Connection to localhost failed.
 
 
  netstat -nap | grep 139 - gives :
 
  tcp0  0192.168.0.229:139 0.0.0.0:*
  LISTEN  11132/smbd
 
 
   Domain B is Win2K Server, DomainA is also a Win2K Server.
 
   The same command  for Domain A : smbclient -L
  -address-of-Win2K-Server   - asks  for password
   for Domain B :  smbclient -L
  ip-address-of-Win2K-Server  - does not ask for password.
  Error given is same as smbclient -l
 lcalhost
  ( only ip changes )
 
  and
  Error connecting to 127.0.0.1 (Connection refused)
  10934: Connection to cvsbkup failed
  SMB connection failed.
 
   Heck! Is there ANY smbd running on your machine? :-o
 
  Since netstat  shows the LISTEN state, smbd is running.
 
  Point is I should be able to acces this Linux box from the domain
 controller
  which is not happenning.
  What if I have an option of rebooting the Win2K Server? Will this help.
  Can't do that right away.
  Assuming I log into the domain controller uing administrator account -
  always.
 
 
  Thank you for all you help, time and patience.
 
  If possible,  help.
  Regards,
  Vijay.
 
  --
  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] Vijay - samba box not seen in browse list.

2003-07-17 Thread Vijay Kumar
Hi All,

I have tried various things  and have been browsing and studying a lot about
the configurations.
I am totally confused now. Pity.. I couldt do one simple configuration.

Please can anyone tell me how do I access a Samba Server from a Windows 2000
Domain Controller ? I want the Linux Samba Server to authenticate the users
.i.e in future if I need mor eusers to access  the Linux share then I will
be adding/deleing user accounts from the linux box.

If possible, please help.

Regards,
Vijay.

- Original Message -
From: Vijay Kumar [EMAIL PROTECTED]
To: Vizitiu, Ciprian [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, July 16, 2003 7:36 PM
Subject: Re: [Samba] Vijay - samba box not seen in browse list.


 Hi,

  smbclient -L localhost   still gives the error :

  added interface ip=192.168.0.229 bcast=192.168.0.255  nmask=255.255.255.0
 error connecting to 127.0.0.1:139 (Connection refused)
 error connecting to 127.0.0.1 (Connection refused)
 Connection to localhost failed.


 netstat -nap | grep 139 - gives :

 tcp0  0192.168.0.229:139 0.0.0.0:*
 LISTEN  11132/smbd


  Domain B is Win2K Server, DomainA is also a Win2K Server.

  The same command  for Domain A : smbclient -L
 -address-of-Win2K-Server   - asks  for password
  for Domain B :  smbclient -L
 ip-address-of-Win2K-Server  - does not ask for password.
 Error given is same as smbclient -l
lcalhost
 ( only ip changes )

 and mount -t smbfs -o username= administrator,password=password
 file://cvsbkup/smbshare   /mnt/floppy  gives the error :
 Error connecting to 127.0.0.1 (Connection refused)
 10934: Connection to cvsbkup failed
 SMB connection failed.

  Heck! Is there ANY smbd running on your machine? :-o

 Since netstat  shows the LISTEN state, smbd is running.

 Point is I should be able to acces this Linux box from the domain
controller
 which is not happenning.
 What if I have an option of rebooting the Win2K Server? Will this help.
 Can't do that right away.
 Assuming I log into the domain controller uing administrator account -
 always.


 Thank you for all you help, time and patience.

 If possible,  help.
 Regards,
 Vijay.

 --
 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] Vijay - samba box not seen in browse list.

2003-07-16 Thread Vijay Kumar
Hi,

smbclient -L localhost   gives the error :

added interface ip=192.168.0.229 bcast=192.168.0.255 nmask=255.255.255.0
error connecting to 127.0.0.1:139 (Connection refused)
error connecting to 127.0.0.1 (Connection refused)

The same command given for the DomainB gives the same error(withteh ip of
the server ) ,
but for DomainA ( NT Server 4.0 ) it asks for a username and password. Why ?

and mount -t smbfs .. /mnt/floppy  gives the error :
Error connecting to 127.0.0.1 (Connection refused)
10934: Connection to cvsbkup failed
SMB connection failed.

Please help.
Regards,
Vijay.


- Original Message -
From: Vizitiu, Ciprian [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 5:18 PM
Subject: RE: [Samba] Vijay - samba box not seen in browse list.




  Without modifying any security parameters, I have changed the
  following : interfaces = 192.168.0.229/24 ; not needed remote
  announce = 192.168.0.255 local master = yes
 
  and created a user administrator onthe linux box with the
  same passwd as that of the win2K server - using smbpasswd.
 
  I am still not able to browse/access thislinux box.
 

 Can you connect from the very same linux box? Open a terminal and do a

 smbmount '\\thislinuxbox\myshare' /mnt/floppy -o
 username=a_valid_samba_username

 Does it work?

 From the same command prompt do

 smbclient -L thislinuxbox

 don't give any passwd and watch for

 WorkgroupMaster
 ----
 SOMEWKG  PDC_NAME

 If the PDC_NAME is still the windows box your samba lost elections so the
 browse list is still in Redmond! ;-)

 Painfull question: are you allowed to reboot the PDC? :)
 --
 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] Vijay - samba box not seen in browse list.

2003-07-16 Thread Vizitiu, Ciprian

 
 smbclient -L localhost   gives the error :
 
 added interface ip=192.168.0.229 bcast=192.168.0.255 
 nmask=255.255.255.0 error connecting to 127.0.0.1:139 
 (Connection refused) error connecting to 127.0.0.1 
 (Connection refused)

netstat -nap | grep 139

Like this:

[EMAIL PROTECTED] netstat -nap | grep 139
tcp0  0 0.0.0.0:139 0.0.0.0:*   LISTEN
31102/smbd
tcp0  0 193.338.203.231:139  193.338.203.231:53728
ESTABLISHED 2194/smbd
tcp0  0 193.338.203.231:53728193.338.203.231:139
ESTABLISHED 2189/sshd

As you can see there are some connections because I do a tunnel but the
important part is the LISTEN / smbd line. How does the output of the command
look in your case?

 The same command given for the DomainB gives the same 
 error(withteh ip of the server ) 

Let me guess: DomainB is Samba?! :-


 but for DomainA ( NT 
 Server 4.0 ) it asks for a username and password. Why ?

Because you haven't specify in the command line the password. man smbclient
and look how to specify the password, that's not the ideea.

 and mount -t smbfs .. /mnt/floppy  gives 
 the error : Error connecting to 127.0.0.1 (Connection refused)
 10934: Connection to cvsbkup failed
 SMB connection failed.

Heck! Is there ANY smbd running on your machine? :-o
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Vijay - samba box not seen in browse list.

2003-07-16 Thread Vijay Kumar
Hi,

 smbclient -L localhost   still gives the error :

 added interface ip=192.168.0.229 bcast=192.168.0.255  nmask=255.255.255.0
error connecting to 127.0.0.1:139 (Connection refused)
error connecting to 127.0.0.1 (Connection refused)
Connection to localhost failed.


netstat -nap | grep 139 - gives :

tcp0  0192.168.0.229:139 0.0.0.0:*
LISTEN  11132/smbd


 Domain B is Win2K Server, DomainA is also a Win2K Server.

 The same command  for Domain A : smbclient -L
-address-of-Win2K-Server   - asks  for password
 for Domain B :  smbclient -L
ip-address-of-Win2K-Server  - does not ask for password.
Error given is same as smbclient -l lcalhost
( only ip changes )

and mount -t smbfs -o username= administrator,password=password
file://cvsbkup/smbshare   /mnt/floppy  gives the error :
Error connecting to 127.0.0.1 (Connection refused)
10934: Connection to cvsbkup failed
SMB connection failed.

 Heck! Is there ANY smbd running on your machine? :-o

Since netstat  shows the LISTEN state, smbd is running.

Point is I should be able to acces this Linux box from the domain controller
which is not happenning.
What if I have an option of rebooting the Win2K Server? Will this help.
Can't do that right away.
Assuming I log into the domain controller uing administrator account -
always.


Thank you for all you help, time and patience.

If possible,  help.
Regards,
Vijay.

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


[Samba] Vijay - samba box not seen in browse list.

2003-07-15 Thread Vijay Kumar
Hi,

I initially tried a RedHAt Linux 9.0 box to join in multiple domains, but
couldnt get it right.
Now I have two Win2K Domains A and B.
If I configure samba to be in Dmain A, I am able to see and browse the linux
box without any problems.
But if I change the workgroup to Domain B I am not able to see the machine
in that lbrowse list and nor am I able to acces it using the Domain
Controller of Domain B. I am able to access it from machine which are not
there in Domain B.
Actually DOmian B just conatins the domain controller and nothing else.

Below is output of testparm.
This is driving me crazy. I just need to access a folder from this domain
Controller B for some backup issues.
Please help.

Thank You,
Regards,
Vijay.
Processing section [homes]
Processing section [smbshare]
Loaded services file OK.
Press enter to see a dump of your service definitions
# Global parameters
[global]
  coding system =
  client code page = 850
  code page directory = /usr/share/samba/codepages

 workgroup = DomainB

  netbios name = CVSBKUP
  netbios aliases =
  netbios scope =
  server string = This is Linux Box
  interfaces = 192.168.0.229
  bind interfaces only = Yes
  security = USER
  encrypt passwords = Yes
  update encrypted = No
  allow trusted domains = Yes
  hosts equiv =
  min passwd length = 5
  map to guest = Never
  null passwords = No
  obey pam restrictions = Yes
  password server =
  smb passwd file = /etc/samba/smbpasswd
  root directory =
  pam password change = Yes
  passwd program = /usr/bin/passwd %u
  passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
  passwd chat debug = No
  username map =
  password level = 0
  username level = 0
  unix password sync = Yes
  restrict anonymous = No
  lanman auth = Yes
  use rhosts = No
  admin log = No
  log level = 0
  syslog = 1
  syslog only = No
  log file = /var/log/samba/%m.log
  max log size = 0
  timestamp logs = Yes
  debug hires timestamp = No
  debug pid = No
  debug uid = No
  protocol = NT1
  large readwrite = Yes
  max protocol = NT1
  min protocol = CORE
  read bmpx = No
  read raw = Yes
  write raw = Yes
  nt smb support = Yes
  nt pipe support = Yes
  nt status support = Yes
  announce version = 4.9
  announce as = NT
  max mux = 50
  max xmit = 16644
  name resolve order = lmhosts host wins bcast
  max ttl = 259200
  max wins ttl = 518400
  min wins ttl = 21600
  time server = No
  unix extensions = No
  change notify timeout = 60
  deadtime = 0
  getwd cache = Yes
  keepalive = 300
  lpq cache time = 10
  max smbd processes = 0
  max disk size = 0
  max open files = 1
  name cache timeout = 660
  read size = 16384
  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
  stat cache size = 50
  use mmap = Yes
  total print jobs = 0
  load printers = Yes
  printcap name = /etc/printcap
  disable spoolss = No
  enumports command =
  addprinter command =
  deleteprinter command =
  show add printer wizard = Yes
  os2 driver map =
  strip dot = No
  mangling method = hash
  character set =
  mangled stack = 50
  stat cache = Yes
  domain admin group =
  domain guest group =
  machine password timeout = 604800
  add user script =
  delete user script =
  logon script =
  logon path = \\%N\%U\profile
  logon drive =
  logon home = \\%N\%U
  domain logons = No
  os level = 0
  lm announce = Auto
  lm interval = 60
  preferred master = No
  local master = No
  domain master = No
  browse list = Yes
  enhanced browsing = Yes
  dns proxy = No
  wins proxy = No
  wins server =
  wins support = No
  wins hook =
  kernel oplocks = Yes
  lock spin count = 3
  lock spin time = 10
  oplock break wait time = 0
  add share command =
  change share command =
  delete share command =
  config file =
  preload =
  lock dir = /var/cache/samba
  pid directory = /var/run/samba
  utmp directory =
  wtmp directory =
  utmp = No
  default service =
  message command =
  dfree command =
  valid chars =
  remote announce = 192.168.0.255
  remote browse sync =
  socket address = 0.0.0.0
  homedir map = auto.home
  time offset = 0
  NIS homedir = No
  source environment =
  panic action =
  hide local users = No
  host msdfs = No
  winbind uid =
  winbind gid =
  template homedir = /home/%D/%U
  template shell = /bin/false
  winbind separator = \
  winbind cache time = 15
  winbind enum users = Yes
  winbind enum 

Re: [Samba] Vijay - samba box not seen in browse list.

2003-07-15 Thread Vincent . Badier
Hi,

I initially tried a RedHAt Linux 9.0 box to join in multiple domains, but
couldnt get it right.
Now I have two Win2K Domains A and B.
If I configure samba to be in Dmain A, I am able to see and browse the
linux
box without any problems.
But if I change the workgroup to Domain B I am not able to see the machine
in that lbrowse list and nor am I able to acces it using the Domain
Controller of Domain B. I am able to access it from machine which are not
there in Domain B.
Actually DOmian B just conatins the domain controller and nothing else.

Below is output of testparm.
This is driving me crazy. I just need to access a folder from this domain
Controller B for some backup issues.
Please help.

[global]
...
  wins proxy = No
  wins server =
  wins support = No


Why not using wins? Declaring a wins server should help, shouldn't it?
And why joining a domain while using security = USER?

Regard's

--
Vincent


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


Re: [Samba] Vijay - samba box not seen in browse list.

2003-07-15 Thread Vijay Kumar
Hi,

Thnx for thr response.
I donot have a Wins server in my network. Do you mean that I should make the
Linux box act as Wins Server ?

Can you please tell me what to change exactly so that I can check the same ?

Regards,
Vijay.



 Why not using wins? Declaring a wins server should help, shouldn't it?
 And why joining a domain while using security = USER?

 Regard's

 --
 Vincent




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


Re: [Samba] Vijay - samba box not seen in browse list.

2003-07-15 Thread Vincent . Badier
Hi,

Thnx for thr response.
I donot have a Wins server in my network. Do you mean that I should make
the
Linux box act as Wins Server ?

Can you please tell me what to change exactly so that I can check the same
?

Regards,
Vijay.



 Why not using wins? Declaring a wins server should help, shouldn't it?
 And why joining a domain while using security = USER?


Sorry, i didn't understood that you haven't any wins server on your
network.
So, to be sure to well understand : You don't have any PDC nor Domain
Controler, have you?

I such a case, i recommend to configure samba to act as a wins server and
domain controler. As this, all client will be able to log on the domain and
browse it.

So you will have to enable such things as
wins support = Yes
domain master = Yes
ect...

Take a look to the smb.conf man page since it explain quite well all
  options.

Regard's

--
Vincent


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


Re: [Samba] Vijay - samba box not seen in browse list.

2003-07-15 Thread Vijay Kumar
Hi,

We have a PDC ( Win2K Domain Controller) without a
Wins server.

But I still get he point, why other machines are able tosee it and not only
the domain controller itself.

Will enabling Wins solve the problem ?

Regards,
Vijay.

- Original Message -
From: [EMAIL PROTECTED]
To: Vijay Kumar [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 12:48 PM
Subject: Re: [Samba] Vijay - samba box not seen in browse list.


 Hi,
 
 Thnx for thr response.
 I donot have a Wins server in my network. Do you mean that I should make
 the
 Linux box act as Wins Server ?
 
 Can you please tell me what to change exactly so that I can check the
same
 ?
 
 Regards,
 Vijay.
 
 
 
  Why not using wins? Declaring a wins server should help, shouldn't it?
  And why joining a domain while using security = USER?


 Sorry, i didn't understood that you haven't any wins server on your
 network.
 So, to be sure to well understand : You don't have any PDC nor Domain
 Controler, have you?

 I such a case, i recommend to configure samba to act as a wins server and
 domain controler. As this, all client will be able to log on the domain
and
 browse it.

 So you will have to enable such things as
 wins support = Yes
 domain master = Yes
 ect...

 Take a look to the smb.conf man page since it explain quite well all
   options.

 Regard's

 --
 Vincent




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


Re: [Samba] Vijay - samba box not seen in browse list.

2003-07-15 Thread Vincent . Badier
Hi,

We have a PDC ( Win2K Domain Controller) without a
Wins server.

But I still get he point, why other machines are able tosee it and not
only
the domain controller itself.

Will enabling Wins solve the problem ?

Regards,
Vijay.

Well, i don't think i well understand exactly what is your problem.

Firstly, you joined DomainA and all was working quite well.
1. What was your domain controler? w2K? wins server?

Secondly, you changed the workgroup in you smb.conf. Did you joined
explicitly the DomainB? This Domain controler is exactly configured as the
first one?

When you wrtie other machines are able tosee it and not only the domain
controller itself. Do you mean windows client? What domain do you browse?
Is there any trust between domains?


Regard's

--
Vincent


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


Re: [Samba] Vijay - samba box not seen in browse list.

2003-07-15 Thread Vijay Kumar
Hi,

a) My first Domain Controller was DomainA - Win2K server.
No wins on that server or anywhere on the network.
   All the Windows clients were able to access it and also see it in the
browse list ( network neigh ) under DomainA.
   The Domian Controller here is not able to see or access the Linux Box.

b) I changed the Workgroup to Domain B - Win2K Server
 No wins on that server or anywhere on the network.
Now other windows machine are able to access the Linux box using
\\cvsbkup
   They are not able to see the machine in the browse list ( network neigh )
   The domain Controller B - Win2K Server  ( No Wins ) is not able to access
the Linux box not able to see it.

   My main aim is to see that the win2k server should be able to access it.
This is should be perfect and consistent.
   Since the backup from Windows box will be stored on the shared folder on
the Linux box.

c) There is a two way trust relationship between the two domains ( A and B )
 Yes all the other clients are Windows Box. They can ping to the linux
box.
 All the machines are on the same network.

I just discovered that even in DoaminA the domain controller i not able to
acces it.

Basically, the question would be -  how can we make the domin controller
access/see the linux box ?

Thnx for all your help.

Regards,
Vijay.

- Original Message -
From: [EMAIL PROTECTED]
To: Vijay Kumar [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 1:57 PM
Subject: Re: [Samba] Vijay - samba box not seen in browse list.


 Hi,
 
 We have a PDC ( Win2K Domain Controller) without a
 Wins server.
 
 But I still get he point, why other machines are able tosee it and not
 only
 the domain controller itself.
 
 Will enabling Wins solve the problem ?
 
 Regards,
 Vijay.

 Well, i don't think i well understand exactly what is your problem.

 Firstly, you joined DomainA and all was working quite well.
 1. What was your domain controler? w2K? wins server?

 Secondly, you changed the workgroup in you smb.conf. Did you joined
 explicitly the DomainB? This Domain controler is exactly configured as the
 first one?

 When you wrtie other machines are able tosee it and not only the domain
 controller itself. Do you mean windows client? What domain do you browse?
 Is there any trust between domains?


 Regard's

 --
 Vincent




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


Re: [Samba] Vijay - samba box not seen in browse list.

2003-07-15 Thread Marian Mlcoch, Ing
Simply first try resolve problem a) and then next !
Send please smb.conf not testparm where is full...
You write the domain controler A not see or access
linux use security user mode (standalone server not in any domain joined)
then for access it you must create user list handly on linux with identical
smbpassword as on w2k pdc.
On w2k PDC A then log as user exist on linux samba. Then you can see or
access linux.

I Wait reply...


- Original Message - 
From: Vijay Kumar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 11:00 AM
Subject: Re: [Samba] Vijay - samba box not seen in browse list.


 Hi,

 a) My first Domain Controller was DomainA - Win2K server.
 No wins on that server or anywhere on the network.
All the Windows clients were able to access it and also see it in the
 browse list ( network neigh ) under DomainA.
The Domian Controller here is not able to see or access the Linux Box.

 b) I changed the Workgroup to Domain B - Win2K Server
  No wins on that server or anywhere on the network.
 Now other windows machine are able to access the Linux box using
 \\cvsbkup
They are not able to see the machine in the browse list ( network
neigh )
The domain Controller B - Win2K Server  ( No Wins ) is not able to
access
 the Linux box not able to see it.

My main aim is to see that the win2k server should be able to access
it.
 This is should be perfect and consistent.
Since the backup from Windows box will be stored on the shared folder
on
 the Linux box.

 c) There is a two way trust relationship between the two domains ( A and
B )
  Yes all the other clients are Windows Box. They can ping to the linux
 box.
  All the machines are on the same network.

 I just discovered that even in DoaminA the domain controller i not able to
 acces it.

 Basically, the question would be -  how can we make the domin controller
 access/see the linux box ?

 Thnx for all your help.

 Regards,
 Vijay.

 - Original Message -
 From: [EMAIL PROTECTED]
 To: Vijay Kumar [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Tuesday, July 15, 2003 1:57 PM
 Subject: Re: [Samba] Vijay - samba box not seen in browse list.


  Hi,
  
  We have a PDC ( Win2K Domain Controller) without a
  Wins server.
  
  But I still get he point, why other machines are able tosee it and not
  only
  the domain controller itself.
  
  Will enabling Wins solve the problem ?
  
  Regards,
  Vijay.
 
  Well, i don't think i well understand exactly what is your problem.
 
  Firstly, you joined DomainA and all was working quite well.
  1. What was your domain controler? w2K? wins server?
 
  Secondly, you changed the workgroup in you smb.conf. Did you joined
  explicitly the DomainB? This Domain controler is exactly configured as
the
  first one?
 
  When you wrtie other machines are able tosee it and not only the domain
  controller itself. Do you mean windows client? What domain do you
browse?
  Is there any trust between domains?
 
 
  Regard's
 
  --
  Vincent
 
 
 

 -- 
 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] Vijay - samba box not seen in browse list.

2003-07-15 Thread Vijay Kumar
 Service

; path = /usr/somewhere/private

; valid users = fred

; public = no

; writable = yes

; printable = no

# a service which has a different directory for each machine that connects

# this allows you to tailor configurations to incoming machines. You could

# also use the %U option to tailor it by user name.

# The %m gets replaced with the machine name that is connecting.

;[pchome]

; comment = PC Directories

; path = /usr/local/pc/%m

; public = no

; writable = yes

# A publicly accessible directory, read/write to all users. Note that all
files

# created in the directory by users will be owned by the default user, so

# any user with access can delete any other user's files. Obviously this

# directory must be writable by the default user. Another user could of
course

# be specified, in which case all files would be owned by that user instead.

;[public]

; path = /usr/somewhere/else/public

; public = yes

; only guest = yes

; writable = yes

; printable = no

# The following two entries demonstrate how to share a directory so that two

# users can place files there that will be owned by the specific users. In
this

# setup, the directory should be writable by both users and should have the

# sticky bit set on it to prevent abuse. Obviously this could be extended to

# as many users as required.

;[myshare]

; comment = Mary's and Fred's stuff

; path = /usr/somewhere/shared

; valid users = mary fred

; public = no

; writable = yes

; printable = no

; create mask = 0765

- Original Message -
From: Marian Mlcoch, Ing [EMAIL PROTECTED]
To: Vijay Kumar [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 2:56 PM
Subject: Re: [Samba] Vijay - samba box not seen in browse list.


 Simply first try resolve problem a) and then next !
 Send please smb.conf not testparm where is full...
 You write the domain controler A not see or access
 linux use security user mode (standalone server not in any domain joined)
 then for access it you must create user list handly on linux with
identical
 smbpassword as on w2k pdc.
 On w2k PDC A then log as user exist on linux samba. Then you can see or
 access linux.

 I Wait reply...


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


Re: [Samba] Vijay - samba box not seen in browse list.

2003-07-15 Thread Marian Mlcoch, Ing
Hi
when you not understand security modes of samba i can not help you...
but i try
first remove errors from smb.conf replace:
interfaces = 192.168.0.229/24
; not needed remote announce = 192.168.0.255
local master = yes

second create samba users and passwords if not have this in shell
useradd user1
smbpasswd -a user1
... userX

If you need connect from w2k then try use connect as and type user1 and
user1pass in dialog or logon w2k as user1 with identic password as on linux
smbpasswd entered.

Bye.

- Original Message - 
From: Vijay Kumar [EMAIL PROTECTED]
To: Marian Mlcoch, Ing [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 12:17 PM
Subject: Re: [Samba] Vijay - samba box not seen in browse list.


 Hi,

 Thnx for your reply, time and patience.

 Below is the smb.conf file.
 I am not able to understand  the security and user part of your mail.
 Kindly let me know what should I do ?
 Why should I login into the Win2K server as another user only to see the
 linux box on the browse list ?

 Regards,
 Vijay.
 # This is the main Samba configuration file. You should read the

 # smb.conf(5) manual page in order to understand the options listed

 # here. Samba has a huge number of configurable options (perhaps too

 # many!) most of which are not shown in this example

 #

 # Any line which starts with a ; (semi-colon) or a # (hash)

 # is a comment and is ignored. In this example we will use a #

 # for commentry and a ; for parts of the config file that you

 # may wish to enable

 #

 # NOTE: Whenever you modify this file you should run the command
testparm

 # to check that you have not made any basic syntactic errors.

 #

 #=== Global Settings
 =

 [global]

 # workgroup = NT-Domain-Name or Workgroup-Name

 workgroup = TRINITI

 netbios name = CVSBKUP

 # server string is the equivalent of the NT Description field

 server string = This is Linux Box

 # This option is important for security. It allows you to restrict

 # connections to machines which are on your local network. The

 # following example restricts access to two C class networks and

 # the loopback interface. For more examples of the syntax see

 # the smb.conf man page

 ; hosts allow = 192.168.1. 192.168.2. 127.

 ; hosts allow = 192.168.0. 127. 202.144.37. 127.

 # if you want to automatically load your printer list rather

 # than setting them up individually then you'll need this

 printcap name = /etc/printcap

 load printers = yes

 # It should not be necessary to spell out the print system type unless

 # yours is non-standard. Currently supported print systems include:

 # bsd, sysv, plp, lprng, aix, hpux, qnx, cups

 printing = cups

 # Uncomment this if you want a guest account, you must add this to
 /etc/passwd

 # otherwise the user nobody is used

 ; guest account = pcguest

 # this tells Samba to use a separate log file for each machine

 # that connects

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

 # Put a capping on the size of the log files (in Kb).

 max log size = 0

 # Security mode. Most people will want user level security. See

 # security_level.txt for details.

 security = user

 # Use password server option only with security = server

 # The argument list may include:

 # password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]

 # or to auto-locate the domain controller/s

 # password server = *

 ; password server = NT-Server-Name

 # Password Level allows matching of _n_ characters of the password for

 # all combinations of upper and lower case.

 ; password level = 8

 ; username level = 8

 # You may wish to use password encryption. Please read

 # ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.

 # Do not enable this option unless you have read those documents

 encrypt passwords = yes

 smb passwd file = /etc/samba/smbpasswd

 # The following is needed to keep smbclient from spouting spurious errors

 # when Samba is built with support for SSL.

 ; ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt

 # The following are needed to allow password changing from Windows to

 # update the Linux system password also.

 # NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.

 # NOTE2: You do NOT need these to allow workstations to change only

 # the encrypted SMB passwords. They allow the Unix password

 # to be kept in sync with the SMB password.

 unix password sync = Yes

 passwd program = /usr/bin/passwd %u

 passwd chat = *New*password* %n\n *Retype*new*password* %n\n
 *passwd:*all*authentication*tokens*updated*successfully*

 # You can use PAM's password change control flag for Samba. If

 # enabled, then PAM will be used for password changes when requested

 # by an SMB client instead of the program listed in passwd program.

 # It should be possible to enable this without changing your passwd

 # chat parameter for most setups.

 pam password change = yes

 # Unix users can map

Re: [Samba] Vijay - samba box not seen in browse list.

2003-07-15 Thread Vijay Kumar
Hi,

Without modifying any security parameters, I have changed the following :
interfaces = 192.168.0.229/24
; not needed remote announce = 192.168.0.255
local master = yes

and created a user administrator onthe linux box with the same passwd as
that of the win2K server - using smbpasswd.

I am still not able to browse/access thislinux box.

Please help.
Regards,
Vijay.

- Original Message -
From: Marian Mlcoch, Ing [EMAIL PROTECTED]
To: Vijay Kumar [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 4:08 PM
Subject: Re: [Samba] Vijay - samba box not seen in browse list.


 Hi
 when you not understand security modes of samba i can not help you...
 but i try
 first remove errors from smb.conf replace:
 interfaces = 192.168.0.229/24
 ; not needed remote announce = 192.168.0.255
 local master = yes

 second create samba users and passwords if not have this in shell
 useradd user1
 smbpasswd -a user1
 ... userX

 If you need connect from w2k then try use connect as and type user1 and
 user1pass in dialog or logon w2k as user1 with identic password as on
linux
 smbpasswd entered.

 Bye.

 - Original Message -
 From: Vijay Kumar [EMAIL PROTECTED]
 To: Marian Mlcoch, Ing [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Tuesday, July 15, 2003 12:17 PM
 Subject: Re: [Samba] Vijay - samba box not seen in browse list.


  Hi,
 
  Thnx for your reply, time and patience.
 
  Below is the smb.conf file.
  I am not able to understand  the security and user part of your mail.
  Kindly let me know what should I do ?
  Why should I login into the Win2K server as another user only to see the
  linux box on the browse list ?
 
  Regards,
  Vijay.
  # This is the main Samba configuration file. You should read the
 
  # smb.conf(5) manual page in order to understand the options listed
 
  # here. Samba has a huge number of configurable options (perhaps too
 
  # many!) most of which are not shown in this example
 
  #
 
  # Any line which starts with a ; (semi-colon) or a # (hash)
 
  # is a comment and is ignored. In this example we will use a #
 
  # for commentry and a ; for parts of the config file that you
 
  # may wish to enable
 
  #
 
  # NOTE: Whenever you modify this file you should run the command
 testparm
 
  # to check that you have not made any basic syntactic errors.
 
  #
 
  #=== Global Settings
  =
 
  [global]
 
  # workgroup = NT-Domain-Name or Workgroup-Name
 
  workgroup = TRINITI
 
  netbios name = CVSBKUP
 
  # server string is the equivalent of the NT Description field
 
  server string = This is Linux Box
 
  # This option is important for security. It allows you to restrict
 
  # connections to machines which are on your local network. The
 
  # following example restricts access to two C class networks and
 
  # the loopback interface. For more examples of the syntax see
 
  # the smb.conf man page
 
  ; hosts allow = 192.168.1. 192.168.2. 127.
 
  ; hosts allow = 192.168.0. 127. 202.144.37. 127.
 
  # if you want to automatically load your printer list rather
 
  # than setting them up individually then you'll need this
 
  printcap name = /etc/printcap
 
  load printers = yes
 
  # It should not be necessary to spell out the print system type unless
 
  # yours is non-standard. Currently supported print systems include:
 
  # bsd, sysv, plp, lprng, aix, hpux, qnx, cups
 
  printing = cups
 
  # Uncomment this if you want a guest account, you must add this to
  /etc/passwd
 
  # otherwise the user nobody is used
 
  ; guest account = pcguest
 
  # this tells Samba to use a separate log file for each machine
 
  # that connects
 
  log file = /var/log/samba/%m.log
 
  # Put a capping on the size of the log files (in Kb).
 
  max log size = 0
 
  # Security mode. Most people will want user level security. See
 
  # security_level.txt for details.
 
  security = user
 
  # Use password server option only with security = server
 
  # The argument list may include:
 
  # password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
 
  # or to auto-locate the domain controller/s
 
  # password server = *
 
  ; password server = NT-Server-Name
 
  # Password Level allows matching of _n_ characters of the password for
 
  # all combinations of upper and lower case.
 
  ; password level = 8
 
  ; username level = 8
 
  # You may wish to use password encryption. Please read
 
  # ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
 
  # Do not enable this option unless you have read those documents
 
  encrypt passwords = yes
 
  smb passwd file = /etc/samba/smbpasswd
 
  # The following is needed to keep smbclient from spouting spurious
errors
 
  # when Samba is built with support for SSL.
 
  ; ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt
 
  # The following are needed to allow password changing from Windows to
 
  # update the Linux system password also.
 
  # NOTE: Use these with 'encrypt

Re: [Samba] Vijay - samba box not seen in browse list.

2003-07-15 Thread Vincent . Badier
Hi
when you not understand security modes of samba i can not help you...
but i try
first remove errors from smb.conf replace:
interfaces = 192.168.0.229/24
; not needed remote announce = 192.168.0.255
local master = yes

second create samba users and passwords if not have this in shell
useradd user1
smbpasswd -a user1
... userX

If you need connect from w2k then try use connect as and type user1 and
user1pass in dialog or logon w2k as user1 with identic password as on
linux
smbpasswd entered.

Bye.

Shouldn't he configure also
security = domain ?

Doing this he doesn't have to identify himself as a diffrent user.


Also, what look like logs when trying to connect?

--
Vincent


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


RE: [Samba] Vijay - samba box not seen in browse list.

2003-07-15 Thread Vizitiu, Ciprian


 Without modifying any security parameters, I have changed the 
 following : interfaces = 192.168.0.229/24 ; not needed remote 
 announce = 192.168.0.255 local master = yes
 
 and created a user administrator onthe linux box with the 
 same passwd as that of the win2K server - using smbpasswd.
 
 I am still not able to browse/access thislinux box.
 

Can you connect from the very same linux box? Open a terminal and do a 

smbmount '\\thislinuxbox\myshare' /mnt/floppy -o
username=a_valid_samba_username

Does it work?

From the same command prompt do

smbclient -L thislinuxbox 

don't give any passwd and watch for

WorkgroupMaster
----
SOMEWKG  PDC_NAME

If the PDC_NAME is still the windows box your samba lost elections so the
browse list is still in Redmond! ;-) 

Painfull question: are you allowed to reboot the PDC? :)
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba