Re: [Samba] Samba - getting long share names from Netapp
Hi Adam, That works for me as well, usually. The problem is NetApp specific in that net -S server -U username rpc share fails against Netapp. Peter On Tue, 2006-01-17 at 17:24 +1000, Adam Nielsen wrote: > Hi Peter, > > If you create a share >12 chars long testparm gives you this message: > > WARNING: You have some share names that are longer than 12 characters. > These may not be accessible to some older clients. > > So I imagine that in the past this hasn't worked at all. It is strange > though that smbclient would ignore the name entirely without even > printing some of it (at least this is what happens in 3.0.21rc2.) > > For me though the 'net' command worked, I ran: > > $ net -S server -U username rpc share > > And providing 'username' was a member of the domain it gave me a list of > shares, including those longer than 12 characters (however this may be > because I was connecting to a Samba machine that had joined the domain.) > > Cheers, > Adam. > > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba - getting long share names from Netapp
Hi Peter, If you create a share >12 chars long testparm gives you this message: WARNING: You have some share names that are longer than 12 characters. These may not be accessible to some older clients. So I imagine that in the past this hasn't worked at all. It is strange though that smbclient would ignore the name entirely without even printing some of it (at least this is what happens in 3.0.21rc2.) For me though the 'net' command worked, I ran: $ net -S server -U username rpc share And providing 'username' was a member of the domain it gave me a list of shares, including those longer than 12 characters (however this may be because I was connecting to a Samba machine that had joined the domain.) Cheers, Adam. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba - getting long share names from Netapp
We defined a share, sales_cifs_test, on our NetApp server. Note that the length of the name is longer than 13 characters. We can see the share with Microsoft Explorer. We can mount the share from Linux using smbmount. What we want to do is to get a list of shares from NetApp. The tools that can do this are the samba programs smbclient and net. Smbclient will not show names longer than 13 characters. The following command gives a share list, but again, does not include names longer than 13 characters. net net -W YOURDOMAIN --user='user%password' -w YOURDOMAIN -S NETAPP_SERVER_IP rap share The command net net -W YOURDOMAIN --user='user%password' -w YOURDOMAIN -S NETAPP_SERVER_IP rpc share is the samba command that gives a list of shares, even if they have long names. The problem is that we can't get it to access NetApp successfully. We have searched both the Netapp site and the Samba site and can't find anything that is relevant. We would really appreciate an answer as to why the command is failing. Peter -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba